- fixed PS build script environment vars generation

- fixed MongoDB 64-bit std::size_t warnings
- added Thread::trySleep()/wakeUp() and tests
This commit is contained in:
Alex Fabijanic
2014-04-25 23:22:54 -05:00
parent 89fc463186
commit 46b5785d98
9 changed files with 122 additions and 10 deletions

View File

@@ -35,6 +35,7 @@
#include "Poco/Runnable.h"
#include "Poco/Thread.h"
namespace Poco {
@@ -50,4 +51,16 @@ Runnable::~Runnable()
}
void Runnable::sleep(long milliseconds)
{
Thread::sleep(milliseconds);
}
void Runnable::trySleep(long milliseconds)
{
Thread::current()->trySleep(milliseconds);
}
} // namespace Poco