diff options
author | Marc Laukien <marc@zeroc.com> | 2002-05-19 14:09:12 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-05-19 14:09:12 +0000 |
commit | 1f7c6e248a10a585dd36b8b4d40031bf4b330632 (patch) | |
tree | 02ef6a50010d533ee0e8ba489de37d8adf311b2b /cpp/test/IceUtil/thread/RWRecMutexTest.cpp | |
parent | sleep now takes IceUtil::Time (diff) | |
download | ice-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.cpp | 6 |
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()); |