Skip to content

Commit 3bcde1b

Browse files
committed
Drop extra process_events call
1 parent 8de1806 commit 3bcde1b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

base/task.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,11 +1205,6 @@ function wait()
12051205
have_result = false
12061206
W = workqueue_for(Threads.threadid())
12071207
task = trypoptask(W)
1208-
if !(task isa Task)
1209-
# didn't find a task to run, try again
1210-
process_events()
1211-
task = trypoptask(W)
1212-
end
12131208
if !(task isa Task)
12141209
# No tasks to run; switch to the scheduler task to run the
12151210
# thread sleep logic.

0 commit comments

Comments
 (0)