diff options
Diffstat (limited to 'cpp/test/IceUtil/condvar/WorkQueue.cpp')
-rw-r--r-- | cpp/test/IceUtil/condvar/WorkQueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/condvar/WorkQueue.cpp b/cpp/test/IceUtil/condvar/WorkQueue.cpp index 63e3a8b56ee..7d093b7279e 100644 --- a/cpp/test/IceUtil/condvar/WorkQueue.cpp +++ b/cpp/test/IceUtil/condvar/WorkQueue.cpp @@ -262,7 +262,7 @@ main(int argc, char** argv) for(i = 0; i < 100; i++) { - TestThreadPtr p = new TestThread(cd, signalQ, i % 2); + TestThreadPtr p = new TestThread(cd, signalQ, i % 2 != 0); p->start(); testThreads.push_back(p); } @@ -275,7 +275,7 @@ main(int argc, char** argv) for(i = 0; i < 100; i++) { - TestThreadPtr p = new TestThread(cd, broadcastQ, i % 2); + TestThreadPtr p = new TestThread(cd, broadcastQ, i % 2 != 0); p->start(); testThreads.push_back(p); } |