Files | Admin

Notes:

Release Name: 2.3.3

Notes:
kgio 2.3.3 - minor fixes

kgio provides non-blocking I/O methods for Ruby without raising
exceptions on EAGAIN and EINPROGRESS.  It is intended for use with the
Unicorn and Rainbows! Rack servers, but may be used by other
applications.

* http://bogomips.org/kgio/
* kgio@librelist.org
* git://bogomips.org/kgio.git

Changes:

We no longer over-allocate memory for Kgio.poll (1.9.x-only).
Under Ruby 1.9.3dev, we also use rb_thread_io_blocking_region
to properly deal with cross-thread IO#close.



Changes: GIT-VERSION-GEN | 2 +- ext/kgio/accept.c | 3 ++- ext/kgio/blocking_io_region.h | 6 ++++++ ext/kgio/connect.c | 9 ++++++--- ext/kgio/extconf.rb | 1 + ext/kgio/poll.c | 2 +- ext/kgio/read_write.c | 4 ++-- 7 files changed, 19 insertions(+), 8 deletions(-) commit c79b5f9037ce69fb3ebce470a14af505aa1c8f5a Author: Eric Wong Date: Tue Mar 15 12:00:52 2011 +0000 kgio 2.3.3 - minor fixes We no longer over-allocate memory for Kgio.poll (1.9.x-only). Under Ruby 1.9.3dev, we also use rb_thread_io_blocking_region to properly deal with cross-thread IO#close. commit 82a3e7d24e3cd51f15df593590986b7c5d0834aa Author: Eric Wong Date: Mon Mar 14 19:35:01 2011 +0000 poll: fix over-allocation for poll(2) Oops, fortunately we allocated too much and not too little. commit 6299ef55e20454eaca0b9860ac4a9bd6ddd143a7 Author: Eric Wong Date: Mon Mar 14 19:35:01 2011 +0000 use rb_thread_blocking_io_region if possible It's in Ruby 1.9.3dev and tracks waiting FDs on blocked threads. commit 59ed57abf542b89babf595e5508cba42ceb9fd47 Author: Eric Wong Date: Fri Feb 25 16:48:11 2011 +0000 doc: more consistent references for kgio_wait_*able methods Much nicer this way...