diff options
Diffstat (limited to 'cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp')
-rw-r--r-- | cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp b/cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp index 2397334cc25..320b74a49d7 100644 --- a/cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp +++ b/cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp @@ -147,7 +147,7 @@ MonitorRecMutexTest::run() control2 = t3->start(); // Give the thread time to start waiting. - ThreadControl::sleep(1000); + ThreadControl::sleep(Time::seconds(1)); { Monitor<RecMutex>::Lock lock(monitor); @@ -155,7 +155,7 @@ MonitorRecMutexTest::run() } // Give one thread time to terminate - ThreadControl::sleep(1000); + ThreadControl::sleep(Time::seconds(1)); test((t2->finished && !t3->finished) || (t3->finished && !t2->finished)); @@ -173,7 +173,7 @@ MonitorRecMutexTest::run() control2 = t3->start(); // Give the threads time to start waiting. - ThreadControl::sleep(1000); + ThreadControl::sleep(Time::seconds(1)); { Monitor<RecMutex>::Lock lock(monitor); |