Skip to content

Commit

Permalink
Make the timeout task an interactive task
Browse files Browse the repository at this point in the history
  • Loading branch information
kpamnany committed Jan 8, 2025
1 parent d989c76 commit 53a5d21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/condition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ function wait(c::GenericCondition; first::Bool=false, timeout::Real=0.0)
dosched && schedule(ct, TimeoutError(timeout); error=true)
end
t.sticky = false
Threads._spawn_set_thrpool(t, :interactive)
schedule(t)
end

Expand Down

0 comments on commit 53a5d21

Please sign in to comment.