Skip to content

Commit 82ca9b8

Browse files
updated workstealing
1 parent a27246e commit 82ca9b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskflow/executor/workstealing.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ std::optional<Closure> WorkStealingExecutor<Closure>::_steal(unsigned thief) {
595595
//assert(_workers[thief].queue.empty());
596596

597597
// explore
598-
for(ExponentialBackoff backoff;; backoff.backoff()) {
598+
for(;;) {
599599
if(auto vtm = _find_victim(thief); vtm != _workers.size()) {
600600
auto t = (vtm == thief) ? _queue.steal() : _workers[vtm].queue.steal();
601601
if(t) {

0 commit comments

Comments
 (0)