diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-02-04 22:38:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-02-04 22:38:31 +0000 |
commit | ba9a22b6926db058199d44a626b923376c8a850f (patch) | |
tree | 9f4bafcd92c7f597e2fe188ceb83bf339471be8d /lib/rainbows/epoll | |
parent | da93ad1c07ff9deb4d3a2e765b26f87ccf68aa23 (diff) | |
download | rainbows-ba9a22b6926db058199d44a626b923376c8a850f.tar.gz |
We can't work around it effectively in the C extension itself. This requires the latest sleepy_penguin gem.
Diffstat (limited to 'lib/rainbows/epoll')
-rw-r--r-- | lib/rainbows/epoll/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/epoll/server.rb b/lib/rainbows/epoll/server.rb index 53b87ab..820a6da 100644 --- a/lib/rainbows/epoll/server.rb +++ b/lib/rainbows/epoll/server.rb @@ -17,6 +17,7 @@ module Rainbows::Epoll::Server obj.epoll_run end Rainbows::Epoll::Client.expire + rescue Errno::EINTR rescue => e Rainbows::Error.listen_loop(e) end while Rainbows.tick || @@nr > 0 |