prepare for rb_thread_blocking_region removal
commitc9e8f1ee4abed6906fd2bead991eeb2c623185da
authorEric Wong <e@80x24.org>
Sat, 8 Feb 2014 20:40:40 +0000 (8 20:40 +0000)
committerEric Wong <e@80x24.org>
Sat, 8 Feb 2014 20:40:40 +0000 (8 20:40 +0000)
tree94405ca4595cb1b9ad3c6f7cbc74451918b99603
parent00f0737e158924d88cc5000e9a7bb891e5ba3a1b
prepare for rb_thread_blocking_region removal

It'll be OK to use rb_thread_call_without_gvl when
rb_thread_blocking_region is not detectable at all.
We still use rb_thread_blocking_region for Ruby 2.0-2.1 because
rb_thread_call_without_gvl was detectable in 1.9.3, but not
usable as an internal symbol.

ref: https://bugs.ruby-lang.org/issues/9502
ext/kgio/accept.c
ext/kgio/blocking_io_region.h
ext/kgio/connect.c
ext/kgio/kgio.h
ext/kgio/poll.c
ext/kgio/tryopen.c
ext/kgio/write.c