From: miquels@cistron-office.nl (Miquel van Smoorenburg)
To: linux-kernel@vger.kernel.org
Subject: Re: select() stress
Date: Mon, 17 Mar 2003 18:00:06 +0000 (UTC) [thread overview]
Message-ID: <b552f6$eao$2@news.cistron.nl> (raw)
In-Reply-To: Pine.LNX.4.53.0303171112090.22652@chaos
In article <Pine.LNX.4.53.0303171112090.22652@chaos>,
Richard B. Johnson <root@chaos.analogic.com> wrote:
>select() takes a file-descriptor as its first argument, not the
>return-value of some function that returns the number of file-
>descriptors. You cannot assume that this number is the same
>as the currently open socket. Just use the socket-value. That's
>the file-descriptor.
Duh? "man select".
Mike.
--
Anyone who is capable of getting themselves made President should
on no account be allowed to do the job -- Douglas Adams.
next prev parent reply other threads:[~2003-03-17 17:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-17 15:28 select() stress Sparks, Jamie
2003-03-17 15:43 ` Matti Aarnio
2003-03-17 16:15 ` Richard B. Johnson
2003-03-17 18:00 ` Miquel van Smoorenburg [this message]
2003-03-17 18:24 ` Olaf Titz
2003-03-18 10:28 ` DervishD
2003-03-18 13:06 ` Richard B. Johnson
2003-03-18 14:42 ` DervishD
2003-03-18 14:46 ` DervishD
-- strict thread matches above, loose matches on Subject: below --
2003-03-18 14:49 Sparks, Jamie
2003-03-18 15:05 ` Richard B. Johnson
2003-03-18 15:05 ` Sparks, Jamie
2003-03-19 4:18 ` Chris Friesen
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='b552f6$eao$2@news.cistron.nl' \
--to=miquels@cistron-office.nl \
--cc=linux-kernel@vger.kernel.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.
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.