about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-05 10:11:56 +0000
committerEric Wong <normalperson@yhbt.net>2011-02-05 10:11:56 +0000
commitc9ca82c76f1eb0e06b0aa204a243d00f382579c5 (patch)
tree4ca29dd42f3114c89b31022b993c38247fd0fe98 /lib/rainbows/xepoll
parentd8e3edadd128a2ee5712b87a6b660295de2df6be (diff)
downloadrainbows-c9ca82c76f1eb0e06b0aa204a243d00f382579c5.tar.gz
There's a lot of code duplication here :<
Diffstat (limited to 'lib/rainbows/xepoll')
-rw-r--r--lib/rainbows/xepoll/client.rb1
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