epoll/*: remove user-space array as active queue
commit1bdb4eda0d868223bd6b3d92db4545a02f5e14f9
authorEric Wong <normalperson@yhbt.net>
Tue, 26 Feb 2013 21:02:34 +0000 (26 21:02 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 26 Feb 2013 21:05:55 +0000 (26 21:05 +0000)
tree77b8442bada556449358a6ef5aec678ff5ab4d55
parent552c4ca305092911ca7613de4b1ba310e5481775
epoll/*: remove user-space array as active queue

This prevents pathological starvation cases where the user-space
ready-list can be repopulated infinitely.  With EPOLLONESHOT,
epoll itself may be used for this task (at a slightly higher
cost) by enabling read/write checks, as the epoll ready-list
preserves event ordering when used with EPOLLONESHOT.
lib/rainbows/epoll/client.rb
lib/rainbows/xepoll/client.rb