about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll_thread_pool/client.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-26 20:07:30 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-26 20:07:30 +0000
commit552c4ca305092911ca7613de4b1ba310e5481775 (patch)
tree097f289ef03c2a26549e752119b5b7f94d63611d /lib/rainbows/xepoll_thread_pool/client.rb
parent81e555569fc254ed9d592c8734695b22d4f9bc12 (diff)
downloadrainbows-552c4ca305092911ca7613de4b1ba310e5481775.tar.gz
No need to specify both flags for epoll (confirmed by reading
fs/eventpoll.c in the Linux kernel).
Diffstat (limited to 'lib/rainbows/xepoll_thread_pool/client.rb')
-rw-r--r--lib/rainbows/xepoll_thread_pool/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/xepoll_thread_pool/client.rb b/lib/rainbows/xepoll_thread_pool/client.rb
index 61b0b68..001e69d 100644
--- a/lib/rainbows/xepoll_thread_pool/client.rb
+++ b/lib/rainbows/xepoll_thread_pool/client.rb
@@ -37,7 +37,7 @@ module Rainbows::XEpollThreadPool::Client
 
   ep = SleepyPenguin::Epoll
   EP = ep.new
-  IN = ep::IN | ep::ET | ep::ONESHOT
+  IN = ep::IN | ep::ONESHOT
   KATO = {}
   KATO.compare_by_identity if KATO.respond_to?(:compare_by_identity)
   LOCK = Mutex.new