more tests

This commit is contained in:
Denis Blank 2015-07-16 23:31:27 +02:00 committed by Naios
parent 4abdd5c35b
commit 1d5cf4a302

View File

@ -17,7 +17,6 @@
#include <random>
#include "concurrentqueue.h"
#include "blockingconcurrentqueue.h"
#include <boost/optional.hpp>
@ -284,7 +283,7 @@ class DispatcherPool
std::condition_variable _condition;
moodycamel::BlockingConcurrentQueue<Callable> _queue;
moodycamel::ConcurrentQueue<Callable> _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)
{