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/xaccept_epoll/client.rb | |
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/xaccept_epoll/client.rb')
-rw-r--r-- | lib/rainbows/xaccept_epoll/client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/xaccept_epoll/client.rb b/lib/rainbows/xaccept_epoll/client.rb index 6c3a0f5..f0fecd0 100644 --- a/lib/rainbows/xaccept_epoll/client.rb +++ b/lib/rainbows/xaccept_epoll/client.rb @@ -28,6 +28,7 @@ module Rainbows::XAcceptEpoll::Client begin EP.wait(nil, @timeout) { |flags, obj| obj.epoll_run } Rainbows::Epoll::Client.expire + rescue Errno::EINTR rescue => e Rainbows::Error.listen_loop(e) end while Rainbows.tick |