summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/AliveTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/thread/AliveTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/AliveTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/thread/AliveTest.cpp b/cpp/test/IceUtil/thread/AliveTest.cpp
index b0b69b61727..6757406b3cf 100644
--- a/cpp/test/IceUtil/thread/AliveTest.cpp
+++ b/cpp/test/IceUtil/thread/AliveTest.cpp
@@ -31,7 +31,7 @@ public:
{
}
- void wait()
+ void waitForSignal()
{
IceUtil::Monitor<IceUtil::Mutex>::Lock lock(*this);
while (!_done)
@@ -64,7 +64,7 @@ public:
try
{
_childCreated.signal();
- _parentReady.wait();
+ _parentReady.waitForSignal();
}
catch(IceUtil::ThreadLockedException &)
{
@@ -94,7 +94,7 @@ AliveTest::run()
CondVar parentReady;
AliveTestThreadPtr t = new AliveTestThread(childCreated, parentReady);
IceUtil::ThreadControl c = t->start();
- childCreated.wait();
+ childCreated.waitForSignal();
test(c.isAlive());
parentReady.signal();
c.join();