Skip to content

Commit 005d6fa

Browse files
committed
Sch: Schedule FIFO
1 parent b0cfba7 commit 005d6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/sch/Sch.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ function schedule!(ctx, state, sch_options, procs=procs_to_use(ctx, sch_options)
544544
if isempty(state.ready)
545545
@goto fire_tasks
546546
end
547-
task = pop!(state.ready)
547+
task = popfirst!(state.ready)
548548
@maybelog ctx timespan_start(ctx, :schedule, (;uid=state.uid, thunk_id=task.id), (;thunk_id=task.id))
549549
if has_result(state, task)
550550
if haskey(state.errored, task)

0 commit comments

Comments
 (0)