We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df02d2 commit 574975cCopy full SHA for 574975c
src/tbb/waiters.h
@@ -68,6 +68,9 @@ class outermost_worker_waiter : public waiter_base {
68
t2 = std::chrono::steady_clock::now())
69
{
70
if (!my_arena.is_empty() && !my_arena.is_recall_requested()) {
71
+ // We are going back to stealing loop, thus in order to not set arena EMPTY instantly
72
+ // in case when worker failed to find work we need to reset stealing loop backoff counter
73
+ reset_wait();
74
return true;
75
}
76
0 commit comments