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 07:22:36 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-08 07:22:36 +0000
commite64e2e0045d63c4edd291839febba978534be652 (patch)
tree32d0435c385f3ac932415bae609e4c13f8fcaed1 /lib/rainbows/epoll.rb
parent07a0bee9dd6f2c366d11284b7e9ab09d66b411e4 (diff)
downloadrainbows-e64e2e0045d63c4edd291839febba978534be652.tar.gz
worker_yield is safer than setting a threshold with multiple
acceptors when thread limits are hit.  Also, avoid sleep +
Thread#run since it's potentially racy if threads are extremely
unfairly scheduled.

Same things applied to xepoll_thread_spawn.
Diffstat (limited to 'lib/rainbows/epoll.rb')
0 files changed, 0 insertions, 0 deletions