Skip to content

Commit a4ed0b2

Browse files
committed
Add note about interrupt test.
1 parent f23ac1f commit a4ed0b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/async/reactor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132

133133
thread = Thread.new do
134134
if events.pop
135+
# The reactor interrupt mechanism is not a guaranteed robust mechanism. Interrupts can be missed if the interrupt is received before entering sleep. Making this more reliable in the future might be useful.
135136
2.times do
136137
reactor.interrupt
137138
sleep(0.01)

0 commit comments

Comments
 (0)