- 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

@@ -68,7 +68,7 @@ public:
protected:
MessageHeader _header;
void messageLength(std::size_t length);
void messageLength(Poco::Int32 length);
/// Sets the message length in the message header
};
@@ -79,8 +79,9 @@ inline MessageHeader& Message::header()
}
inline void Message::messageLength(std::size_t length)
inline void Message::messageLength(Poco::Int32 length)
{
poco_assert(length > 0);
_header.setMessageLength(length);
}