Files | Admin

Notes:

Release Name: 2.4.1

Notes:
kgio 2.4.1 - Kgio.poll avoids EINTR, really

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:

This release fixes a race condition that could allow
Errno::EINTR to be raised even though the 2.4.0 release
was supposed to stop that.

Nobody uses Kgio.poll, really, so this shouldn't be an issue
for real code, yet.



Changes: GIT-VERSION-GEN | 2 +- ext/kgio/poll.c | 6 +++--- test/test_poll.rb | 27 +++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 4 deletions(-) commit f656c49f77d896cbbb1e684d826472c09dcc2253 Author: Eric Wong Date: Fri May 20 19:53:03 2011 -0700 kgio 2.4.1 - Kgio.poll avoids EINTR, really This release fixes a race condition that could allow Errno::EINTR to be raised even though the 2.4.0 release was supposed to stop that. Nobody uses Kgio.poll, really, so this shouldn't be an issue for real code, yet. commit f809a87f70f0937a87b5d3a83704847daceef4dd Author: Eric Wong Date: Fri May 20 19:50:34 2011 -0700 Kgio.poll: ensure EINTR never gets raised Retry on a zero timeout if we get interrupted even if the timeout expired. This is also what IO.select does in Ruby itself.