diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-05-08 07:22:36 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-05-08 07:22:36 +0000 |
commit | e64e2e0045d63c4edd291839febba978534be652 (patch) | |
tree | 32d0435c385f3ac932415bae609e4c13f8fcaed1 /lib/rainbows/xepoll_thread_spawn | |
parent | 07a0bee9dd6f2c366d11284b7e9ab09d66b411e4 (diff) | |
download | rainbows-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/xepoll_thread_spawn')
0 files changed, 0 insertions, 0 deletions