more reliable shutdown for epoll concurrency models
commitf9de85b9a35c9f95b390249ea855858c5e4a3ae2
authorEric Wong <normalperson@yhbt.net>
Mon, 16 May 2011 20:05:12 +0000 (16 20:05 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 16 May 2011 20:05:12 +0000 (16 20:05 +0000)
tree0626bc1ce9e1a4152b8dd9e460077b2f20eb3bf3
parent49b60d6f67a94560a802c6ff80c16c92093de877
more reliable shutdown for epoll concurrency models

Just close the epoll descriptor, since the sleepy_penguin
epoll_wait wrapper may not return EINTR in the future.
lib/rainbows.rb
lib/rainbows/epoll.rb
lib/rainbows/xepoll.rb
lib/rainbows/xepoll_thread_pool/client.rb
lib/rainbows/xepoll_thread_spawn/client.rb