From 1d5cf4a302036454c5f2004978893ca16eabf1ff Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Thu, 16 Jul 2015 23:31:27 +0200 Subject: [PATCH] more tests --- test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test.cpp b/test.cpp index 580dd5b..88e71e6 100644 --- a/test.cpp +++ b/test.cpp @@ -17,7 +17,6 @@ #include #include "concurrentqueue.h" -#include "blockingconcurrentqueue.h" #include @@ -284,7 +283,7 @@ class DispatcherPool std::condition_variable _condition; - moodycamel::BlockingConcurrentQueue _queue; + moodycamel::ConcurrentQueue _queue; public: DispatcherPool() : DispatcherPool(std::thread::hardware_concurrency()) { } @@ -698,7 +697,7 @@ int main(int /*argc*/, char** /*argv*/) unsigned int counter = 0; - for (unsigned int run = 0; run < 2; ++run) + for (unsigned int run = 0; run < 15; ++run) { for (unsigned int i = 0; i < 20; ++i) {