diff options
Diffstat (limited to 'unsupported/test/cxx11_eventcount.cpp')
-rw-r--r-- | unsupported/test/cxx11_eventcount.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unsupported/test/cxx11_eventcount.cpp b/unsupported/test/cxx11_eventcount.cpp index 3ca8598c7..7bf4e965f 100644 --- a/unsupported/test/cxx11_eventcount.cpp +++ b/unsupported/test/cxx11_eventcount.cpp @@ -30,10 +30,10 @@ static void test_basic_eventcount() EventCount ec(waiters); EventCount::Waiter& w = waiters[0]; ec.Notify(false); - VERIFY(ec.Prewait()); + ec.Prewait(); ec.Notify(true); ec.CommitWait(&w); - VERIFY(ec.Prewait()); + ec.Prewait(); ec.CancelWait(); } @@ -112,7 +112,7 @@ static void test_stress_eventcount() unsigned idx = rand_reentrant(&rnd) % kQueues; if (queues[idx].Pop()) continue; j--; - if (!ec.Prewait()) continue; + ec.Prewait(); bool empty = true; for (int q = 0; q < kQueues; q++) { if (!queues[q].Empty()) { |