about summary refs log tree commit homepage
path: root/lib/rainbows/epoll.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-08 04:06:12 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-08 05:24:23 +0000
commit07a0bee9dd6f2c366d11284b7e9ab09d66b411e4 (patch)
tree00c20d3199c2bb36d643b021d3789bd19f89b979 /lib/rainbows/epoll.rb
parentc543b295ff2108623f3748a141e04e5530d06377 (diff)
downloadrainbows-07a0bee9dd6f2c366d11284b7e9ab09d66b411e4.tar.gz
Infinite sleep is too dangerous due to possible race conditions,
so use worker_yield which is safer and cheaper in the general
case.  We can also avoid sleeping on new threads by only
spawning when the client module is included.
Diffstat (limited to 'lib/rainbows/epoll.rb')
0 files changed, 0 insertions, 0 deletions