summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
committerMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
commit1f7c6e248a10a585dd36b8b4d40031bf4b330632 (patch)
tree02ef6a50010d533ee0e8ba489de37d8adf311b2b /cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp
parentsleep now takes IceUtil::Time (diff)
downloadice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.bz2
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.xz
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.zip
sleep now takes IceUtil::Time
Diffstat (limited to 'cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/MonitorRecMutexTest.cpp6
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);