From: Eric Wong <normalperson@yhbt.net>
To: sleepy.penguin@librelist.org
Subject: [sleepy.penguin] Epoll#wait raising Errno::EINTR
Date: Sun, 8 May 2011 23:30:19 +0000 [thread overview]
Message-ID: <20110508233019.GA2159@dcvr.yhbt.net> (raw)
In-Reply-To: <20110508233019.GA2159@dcvr.yhbt.net>
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
next parent reply other threads:[~2011-05-08 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-08 23:30 Eric Wong [this message]
2011-05-19 23:42 ` [sleepy.penguin] Epoll#wait raising Errno::EINTR Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/sleepy_penguin/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110508233019.GA2159@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=sleepy.penguin@librelist.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).