Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2001 11:38:17 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "Jonathan Graehl" <jonathan@graehl.org>
Cc:        "Freebsd-Net" <freebsd-net@FreeBSD.ORG>
Subject:   safety from EINTR
Message-ID:  <200103021638.LAA14213@khavrinen.lcs.mit.edu>
In-Reply-To: <NCBBLOALCKKINBNNEDDLGENDDLAA.jonathan@graehl.org>
References:  <NCBBLOALCKKINBNNEDDLGENDDLAA.jonathan@graehl.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 2 Mar 2001 00:58:39 -0800, "Jonathan Graehl" <jonathan@graehl.org> said:

> If a UDP socket selects readable, am I assured that the next read
> call will not block?

Not in the general case.  If you can be certain that there is no other
process with a file handle on the same socket, and considering
blocking only due to socket buffer exhaustion, then that assumption
*should* be valid.

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103021638.LAA14213>