Skip to content

Commit e10b893

Browse files
committed
fixup! work stealing: Fold stealing into runner
1 parent 0f9fbe4 commit e10b893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sch/Sch.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ function start_processor_runner!(istate::ProcessorInternalState, return_queue::R
11111111
continue
11121112
end
11131113
task_and_occupancy = lock(other_istate.queue) do queue
1114-
if length(queue) <= 1
1114+
if length(queue) == 0
11151115
return nothing
11161116
end
11171117
task, occupancy = peek(queue)

0 commit comments

Comments
 (0)