From: Stephen Wille Padnos <stephenwp@adelphia.net>
To: ptb@it.uc3m.es
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: [OT] Interrupting select
Date: Sun, 06 May 2001 09:44:34 -0700 [thread overview]
Message-ID: <3AF57F72.A075ADBC@adelphia.net> (raw)
In-Reply-To: <200105022344.f42NiZ727894@oboe.it.uc3m.es>
"Peter T. Breuer" wrote:
[snip]> um, shouldn't you be testing for res==-1, as well?
> > specifically that condition and errno==EINTR is how I'd expect
> > signals to effect the loop...
[snip]
> I assumed that "error" is something like trying to watch for a
> negative number or zero descriptors, or having a fd_set that doesn't
> contain open fd's. The reason I assumed that is because EINTR is not
> listed as a possible:
>
>
> ERRORS
> EBADF An invalid file descriptor was given in one of the
> sets.
> EINTR A non blocked signal was caught.
umm ^^^^^^ - it looks like it's listed here :)
> EINVAL n is negative.
> ENOMEM select was unable to allocate memory for internal
> tables.
next prev parent reply other threads:[~2001-05-06 13:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-02 23:44 [OT] Interrupting select Peter T. Breuer
2001-05-06 16:44 ` Stephen Wille Padnos [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-02 21:46 Laramie Leavitt
2001-05-02 21:56 ` Peter T. Breuer
2001-05-02 22:21 ` Alan Cox
2001-05-02 23:03 ` Peter T. Breuer
2001-05-03 0:01 ` Alan Cox
2001-05-04 20:59 ` Olaf Dietsche
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AF57F72.A075ADBC@adelphia.net \
--to=stephenwp@adelphia.net \
--cc=linux-kernel@vger.kernel.org \
--cc=ptb@it.uc3m.es \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.