Skip to content

Commit

Permalink
Sch: Schedule FIFO
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Dec 22, 2024
1 parent b0cfba7 commit 005d6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sch/Sch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ function schedule!(ctx, state, sch_options, procs=procs_to_use(ctx, sch_options)
if isempty(state.ready)
@goto fire_tasks
end
task = pop!(state.ready)
task = popfirst!(state.ready)
@maybelog ctx timespan_start(ctx, :schedule, (;uid=state.uid, thunk_id=task.id), (;thunk_id=task.id))
if has_result(state, task)
if haskey(state.errored, task)
Expand Down

0 comments on commit 005d6fa

Please sign in to comment.