summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/RWRecMutexTest.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/RWRecMutexTest.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/RWRecMutexTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/RWRecMutexTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/RWRecMutexTest.cpp b/cpp/test/IceUtil/thread/RWRecMutexTest.cpp
index 070a6a51b2c..ccd040f3544 100644
--- a/cpp/test/IceUtil/thread/RWRecMutexTest.cpp
+++ b/cpp/test/IceUtil/thread/RWRecMutexTest.cpp
@@ -411,7 +411,7 @@ RWRecMutexTest::run()
// It's necessary for a small sleep here to ensure that the
// thread is actually waiting on a write lock.
- ThreadControl::sleep(1000);
+ ThreadControl::sleep(Time::seconds(1));
try
{
@@ -449,7 +449,7 @@ RWRecMutexTest::run()
// It's necessary for a small sleep here to ensure that the
// thread is actually waiting on a read lock.
- ThreadControl::sleep(1000);
+ ThreadControl::sleep(Time::seconds(1));
}
//
@@ -484,7 +484,7 @@ RWRecMutexTest::run()
// terminates (which means that the write lock upgrade was
// mistakenly acquired).
//
- ThreadControl::sleep(1000);
+ ThreadControl::sleep(Time::seconds(1));
test(!t2->upgradeAcquired());