Release Name: 3.0.1
Notes:
sleepy_penguin 3.0.1 - really avoids EINTR
sleepy_penguin provides access to newer, Linux-only system calls to wait
on events from traditionally non-I/O sources. Bindings to the eventfd,
timerfd, inotify, signalfd and epoll interfaces are provided.
* http://bogomips.org/sleepy_penguin/
* sleepy.penguin@librelist.com
* git://bogomips.org/sleepy_penguin.git
Changes:
One bugfix:
* epoll: avoid race condition in EINTR checking
Even if we timeout while getting an EINTR, we'll retry
epoll_wait() with a zero timeout like IO.select does in Ruby to
avoid raising Errno::EINTR.
Changes:
GIT-VERSION-GEN | 2 +-
ext/sleepy_penguin/epoll.c | 18 ++++++++----------
test/test_epoll.rb | 27 +++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 11 deletions(-)
commit ee4481de83bb8d208ff99aed9b5fff393115114c
Author: Eric Wong
Date: Fri May 20 19:39:58 2011 -0700
sleepy_penguin 3.0.1 - really avoids EINTR
One bugfix:
* epoll: avoid race condition in EINTR checking
Even if we timeout while getting an EINTR, we'll retry
epoll_wait() with a zero timeout like IO.select does in Ruby to
avoid raising Errno::EINTR.
commit 2fb791b331b286f2af86d807028818d493f0f556
Author: Eric Wong
Date: Fri May 20 19:34:39 2011 -0700
epoll: avoid race condition in EINTR checking
Even if we timeout while getting an EINTR, we'll retry
epoll_wait() with a zero timeout like IO.select does in Ruby to
avoid raising Errno::EINTR.
|