Commit 7b61f2e0 by FritzFlorian

Fix: Remove old import prohibiting compilation

parent 0cffce1c
Pipeline #1248 failed with stages
in 26 seconds
......@@ -7,8 +7,7 @@
#include <typeindex>
#include <tuple>
#include <pls/internal/scheduling/root_task.h>
#include <pls/internal/helpers/unique_id.h>
#include <pls/pls.h>
int main() {
......
......@@ -100,9 +100,7 @@ task *scheduler::steal_task() {
size_t target = (offset + i) % num_threads();
// Skip our self for stealing
if (target == my_id) {
continue;
}
target = ((target == my_id) + target) % num_threads();
auto target_state = thread_state_for(target);
// TODO: See if we should re-try popping if it failed due to contention
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment