From: Peter Niemayer <niemayer@isg.de>
To: David Schwartz <davids@webmaster.com>
Cc: davem@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: read/recv sometimes returns EAGAIN instead of EINTR on SMP machines
Date: Tue, 23 Jul 2002 12:14:31 +0200 [thread overview]
Message-ID: <3D3D2C87.F7E54649@isg.de> (raw)
In-Reply-To: 20020723081257.AAA26793@shell.webmaster.com@whenever
David Schwartz wrote:
> My guess is that select did return EINTR, but for some reason your
> application examined the fd sets anyway. So the bug is in not ignoring the fd
> sets when select returns an error, which is an application issue.
As you can see in the sample source code I provided, the problem is not
caused by the application not testing select() for returning EINTR - in
that case, the code just select()s again...
Regards,
Peter Niemayer
next prev parent reply other threads:[~2002-07-23 10:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-22 10:43 read/recv sometimes returns EAGAIN instead of EINTR on SMP machines Peter Niemayer
2002-07-23 2:57 ` David S. Miller
2002-07-23 3:56 ` read/recv sometimes returns EAGAIN instead of EINTR on SMP kuznet
2002-07-23 1:04 ` Arnaldo Carvalho de Melo
2002-07-23 6:12 ` James Morris
2002-07-23 8:12 ` read/recv sometimes returns EAGAIN instead of EINTR on SMP machines David Schwartz
2002-07-23 10:14 ` Peter Niemayer [this message]
2002-07-23 10:16 ` read/recv sometimes returns EAGAIN instead of EINTR on SMPmachines Peter Niemayer
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=3D3D2C87.F7E54649@isg.de \
--to=niemayer@isg.de \
--cc=davem@redhat.com \
--cc=davids@webmaster.com \
--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.