sleepy_penguin RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [sleepy.penguin] Epoll#wait raising Errno::EINTR
@ 2011-05-08 23:30 Eric Wong
  2011-05-19 23:42 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Wong @ 2011-05-08 23:30 UTC (permalink / raw)
  To: sleepy.penguin

Who here depends on Epoll#wait raising Errno::EINTR?  I'm thinking
of changing this in the next major release, probably 3.0...

I would need to make corresponding changes in Rainbows! to deal
with this, but it wouldn't be hard.  I'm not aware of anybody using
sleepy_penguin anywhere else outside of Rainbows!, so if you have
thoughts/opinions on this, please us know!

IO.select in Ruby itself doesn't raise Errno::EINTR either, instead it
resumes with the remaining time left.  For kgio[1], I've also made the
Kgio.poll (poll(2) wrapper) match IO.select behavior.


[1] http://bogomips.org/kgio/

-- 
Eric Wong


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sleepy.penguin] Epoll#wait raising Errno::EINTR
  2011-05-08 23:30 [sleepy.penguin] Epoll#wait raising Errno::EINTR Eric Wong
@ 2011-05-19 23:42 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2011-05-19 23:42 UTC (permalink / raw)
  To: sleepy.penguin

Eric Wong <normalperson@yhbt.net> wrote:
> Who here depends on Epoll#wait raising Errno::EINTR?  I'm thinking
> of changing this in the next major release, probably 3.0...

Implemented in git://bogomips.org/sleepy_penguin.git, expect 3.0 soon.

-- 
Eric Wong


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-19 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-08 23:30 [sleepy.penguin] Epoll#wait raising Errno::EINTR Eric Wong
2011-05-19 23:42 ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/sleepy_penguin.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).