reduce dependency on IO#write_nonblock
commit894cb73887c106acc793f0317ee849ae215ead56
authorEric Wong <normalperson@yhbt.net>
Mon, 25 Oct 2010 22:15:47 +0000 (25 22:15 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 25 Oct 2010 22:15:47 +0000 (25 22:15 +0000)
tree9f4f4d8caff831383a46dc4eb05e71b32c6ee628
parent4ee6e0dafeb1b7af28fa90ae27c1a1a04aa8e852
reduce dependency on IO#write_nonblock

kgio_trywrite is superior if it is available.
lib/rainbows/error.rb
lib/rainbows/process_client.rb
lib/rainbows/rev/client.rb
lib/rainbows/writer_thread_pool.rb
lib/rainbows/writer_thread_spawn.rb