We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27246e commit 82ca9b8Copy full SHA for 82ca9b8
1 file changed
taskflow/executor/workstealing.hpp
@@ -595,7 +595,7 @@ std::optional<Closure> WorkStealingExecutor<Closure>::_steal(unsigned thief) {
595
//assert(_workers[thief].queue.empty());
596
597
// explore
598
- for(ExponentialBackoff backoff;; backoff.backoff()) {
+ for(;;) {
599
if(auto vtm = _find_victim(thief); vtm != _workers.size()) {
600
auto t = (vtm == thief) ? _queue.steal() : _workers[vtm].queue.steal();
601
if(t) {
0 commit comments