We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a1dbb commit 2b3aff8Copy full SHA for 2b3aff8
llvm/lib/ExecutionEngine/Orc/TaskDispatch.cpp
@@ -68,7 +68,8 @@ void DynamicThreadPoolTaskDispatcher::dispatch(std::unique_ptr<Task> T) {
68
if (IsMaterializationTask)
69
--NumMaterializationThreads;
70
--Outstanding;
71
- OutstandingCV.notify_all();
+ if (Outstanding == 0)
72
+ OutstandingCV.notify_all();
73
return;
74
}
75
0 commit comments