Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 14:20:41 +0100
From:      Ed Schouten <ed@fxq.nl>
To:        Mark Linn <mark.linn@gmail.com>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: non-blocking io, EINTR
Message-ID:  <20080227132041.GD71045@hoeg.nl>
In-Reply-To: <84fb42ef0802270107y4ddb8fd2scd83fe086414869f@mail.gmail.com>
References:  <84fb42ef0802270107y4ddb8fd2scd83fe086414869f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--WK3l2KTTmXPVedZ6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Mark Linn <mark.linn@gmail.com> wrote:
> I am setting the O_NONBLOCK flag on a socket file descriptor using fcntl,
>=20
> will a read() on the socket return EINTR when the process get a signal?

Probably not, because that would only happen if the kernel would call
the *sleep() routines, which it won't do, because the O_NONBLOCK flag
disables that.

--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--WK3l2KTTmXPVedZ6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkfFY6kACgkQ52SDGA2eCwXYzgCaA9sgTxXhxgBexz3/wfwFFES/
rasAn199mwGsm5wxxLnnIjSQBd96Odc+
=5w55
-----END PGP SIGNATURE-----

--WK3l2KTTmXPVedZ6--



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