latest changes from main repository

This commit is contained in:
Guenter Obiltschnig
2007-04-25 08:39:02 +00:00
parent f29f7cda53
commit 3e46ab332b
60 changed files with 1619 additions and 163 deletions

View File

@@ -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)