diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-05 10:11:56 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-05 10:11:56 +0000 |
commit | c9ca82c76f1eb0e06b0aa204a243d00f382579c5 (patch) | |
tree | 4ca29dd42f3114c89b31022b993c38247fd0fe98 /lib/rainbows/xepoll | |
parent | d8e3edadd128a2ee5712b87a6b660295de2df6be (diff) | |
download | rainbows-c9ca82c76f1eb0e06b0aa204a243d00f382579c5.tar.gz |
There's a lot of code duplication here :<
Diffstat (limited to 'lib/rainbows/xepoll')
-rw-r--r-- | lib/rainbows/xepoll/client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/xepoll/client.rb b/lib/rainbows/xepoll/client.rb index fa5999b..2db684e 100644 --- a/lib/rainbows/xepoll/client.rb +++ b/lib/rainbows/xepoll/client.rb @@ -27,6 +27,7 @@ module Rainbows::XEpoll::Client THREADS.each { |t| t.run } begin EP.wait(nil, @timeout) { |flags, obj| obj.epoll_run } + Rainbows::Epoll.rerun Rainbows::Epoll::Client.expire rescue Errno::EINTR rescue => e |