diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-05-08 04:06:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-05-08 05:24:23 +0000 |
commit | 07a0bee9dd6f2c366d11284b7e9ab09d66b411e4 (patch) | |
tree | 00c20d3199c2bb36d643b021d3789bd19f89b979 /lib/rainbows/epoll.rb | |
parent | c543b295ff2108623f3748a141e04e5530d06377 (diff) | |
download | rainbows-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