mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-05 13:07:55 +00:00
latest changes from main repository
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Thread.cpp
|
||||
//
|
||||
// $Id: //poco/Main/Foundation/src/Thread.cpp#12 $
|
||||
// $Id: //poco/Main/Foundation/src/Thread.cpp#13 $
|
||||
//
|
||||
// Library: Foundation
|
||||
// Package: Threading
|
||||
@@ -97,6 +97,19 @@ void Thread::join()
|
||||
}
|
||||
|
||||
|
||||
void Thread::join(long milliseconds)
|
||||
{
|
||||
if (!joinImpl(milliseconds))
|
||||
throw TimeoutException();
|
||||
}
|
||||
|
||||
|
||||
bool Thread::tryJoin(long milliseconds)
|
||||
{
|
||||
return joinImpl(milliseconds);
|
||||
}
|
||||
|
||||
|
||||
ThreadLocalStorage& Thread::tls()
|
||||
{
|
||||
if (!_pTLS)
|
||||
|
||||
Reference in New Issue
Block a user