- return bool from Thread::trySleep()

- updated documentiation
- amended tests
- updated CHANGELOG
This commit is contained in:
Alex Fabijanic
2014-04-26 09:51:57 -05:00
parent 0d58de8bc8
commit 63850e8778
6 changed files with 65 additions and 28 deletions

View File

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