diff options
Diffstat (limited to 'test/test_poll.rb')
-rw-r--r-- | test/test_poll.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_poll.rb b/test/test_poll.rb index 5bfc70b..d9a2b07 100644 --- a/test/test_poll.rb +++ b/test/test_poll.rb @@ -96,7 +96,10 @@ class TestPoll < Test::Unit::TestCase end thr = Thread.new do sleep 0.100 - Process.kill(:USR1, $$) + 100.times do + Process.kill(:USR1, $$) + Thread.pass + end end t0 = Time.now res = Kgio.poll(pollset, 1000) |