epoll/client: avoid unnecessary Epoll#set calls
commit7d623489dd51667e0a2eec9d44aec57cb4c5ba44
authorEric Wong <normalperson@yhbt.net>
Wed, 26 Jan 2011 17:42:55 +0000 (26 17:42 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 26 Jan 2011 17:44:19 +0000 (26 17:44 +0000)
tree59b752ede1308591676ffa8f26d6608bff6fbe4e
parentbc8a71ea4fee6e4ed35dad245511508ac0b7bf4b
epoll/client: avoid unnecessary Epoll#set calls

We should only attempt to modify the descriptor when we
block, and not for subsequent events.
lib/rainbows/epoll/client.rb