mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
- return bool from Thread::trySleep()
- updated documentiation - amended tests - updated CHANGELOG
This commit is contained in:
@@ -57,9 +57,9 @@ void Runnable::sleep(long milliseconds)
|
||||
}
|
||||
|
||||
|
||||
void Runnable::trySleep(long milliseconds)
|
||||
bool Runnable::trySleep(long milliseconds)
|
||||
{
|
||||
Thread::current()->trySleep(milliseconds);
|
||||
return Thread::current()->trySleep(milliseconds);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user