mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 11:32:12 +00:00
Merge from trunk.
[SVN r41865]
This commit is contained in:
@@ -138,7 +138,7 @@ struct test_timedlock
|
||||
|
||||
boost::system_time now=boost::get_system_time();
|
||||
boost::posix_time::milliseconds const timeout_resolution(20);
|
||||
BOOST_CHECK((now-timeout_resolution)<timeout);
|
||||
BOOST_CHECK((timeout-timeout_resolution)<now);
|
||||
|
||||
// Test the lock, unlock and timedlock methods.
|
||||
lock.unlock();
|
||||
|
||||
Reference in New Issue
Block a user