threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
})));
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
return matchingV;
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
// call functions on matching entities
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
);
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
// call functions on matching entities
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
);
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
threadPool->wakeThreads();
do {
std::this_thread::sleep_for(std::chrono::microseconds(200));
- } while(!threadPool->isQueueEmpty() && !threadPool->isAllThreadsWaiting());
+ } while(!threadPool->isQueueEmpty() || !threadPool->isAllThreadsWaiting());
}
}
};