use rb_thread_blocking_io_region if possible
commit6299ef55e20454eaca0b9860ac4a9bd6ddd143a7
authorEric Wong <normalperson@yhbt.net>
Mon, 14 Mar 2011 19:35:01 +0000 (14 19:35 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 14 Mar 2011 19:35:01 +0000 (14 19:35 +0000)
tree338c212cc89c8946537bf858739aab4b44d49db9
parent59ed57abf542b89babf595e5508cba42ceb9fd47
use rb_thread_blocking_io_region if possible

It's in Ruby 1.9.3dev and tracks waiting FDs on blocked threads.
ext/kgio/accept.c
ext/kgio/blocking_io_region.h [new file with mode: 0644]
ext/kgio/extconf.rb