summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/priority/ThreadPriority.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-08-13 16:32:28 +0200
committerJose <jose@zeroc.com>2009-08-13 16:32:28 +0200
commitd1de672bf9e5367e3a3c8b4ad9f3a6709893e85e (patch)
treed84812d73a20a24cb5bfdcabd25acaec5bde6705 /cpp/test/IceUtil/priority/ThreadPriority.cpp
parentOne more fix for bug 4177 (diff)
downloadice-d1de672bf9e5367e3a3c8b4ad9f3a6709893e85e.tar.bz2
ice-d1de672bf9e5367e3a3c8b4ad9f3a6709893e85e.tar.xz
ice-d1de672bf9e5367e3a3c8b4ad9f3a6709893e85e.zip
4209 - test\IceUtil\priority ThreadSyscallException
Diffstat (limited to 'cpp/test/IceUtil/priority/ThreadPriority.cpp')
-rw-r--r--cpp/test/IceUtil/priority/ThreadPriority.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/test/IceUtil/priority/ThreadPriority.cpp b/cpp/test/IceUtil/priority/ThreadPriority.cpp
index 28554216138..59da59420f2 100644
--- a/cpp/test/IceUtil/priority/ThreadPriority.cpp
+++ b/cpp/test/IceUtil/priority/ThreadPriority.cpp
@@ -64,32 +64,32 @@ ThreadPriorityTest::ThreadPriorityTest() :
test(t1->getPriority() == THREAD_PRIORITY_IDLE);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_LOWEST);
+ c = t1->start(128, THREAD_PRIORITY_LOWEST);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_LOWEST);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_BELOW_NORMAL);
+ c = t1->start(128, THREAD_PRIORITY_BELOW_NORMAL);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_BELOW_NORMAL);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_NORMAL);
+ c = t1->start(128, THREAD_PRIORITY_NORMAL);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_NORMAL);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_ABOVE_NORMAL);
+ c = t1->start(128, THREAD_PRIORITY_ABOVE_NORMAL);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_ABOVE_NORMAL);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_HIGHEST);
+ c = t1->start(128, THREAD_PRIORITY_HIGHEST);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_HIGHEST);
t1 = new PriorityTestThread();
- t1->start(128, THREAD_PRIORITY_TIME_CRITICAL);
+ c = t1->start(128, THREAD_PRIORITY_TIME_CRITICAL);
c.join();
test(t1->getPriority() == THREAD_PRIORITY_TIME_CRITICAL);
}