Skip to content

Commit 894ac23

Browse files
committed
Wake up the process_timers loop on receiving a new timer
1 parent 4e7c5b8 commit 894ac23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/concurrent/executor/timer_set.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def post(intended_time, *args, &task)
5858

5959
true
6060
end
61+
@condition.signal
6162

6263
end
6364

0 commit comments

Comments
 (0)