Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2001 00:58:39 -0800
From:      "Jonathan Graehl" <jonathan@graehl.org>
To:        "Freebsd-Net" <freebsd-net@freebsd.org>
Subject:   safety from EINTR
Message-ID:  <NCBBLOALCKKINBNNEDDLGENDDLAA.jonathan@graehl.org>

next in thread | raw e-mail | index | archive | help
If a UDP socket selects readable, am I assured that the next read call will not
block?

If a socket is nonblocking, can I use setitimer and handle SIGALRM, and be
assured that the process will not be put to sleep waiting for I/O on the socket,
thus returning EINTR due to the signal?

--
Jonathan Graehl
  email: jonathan@graehl.org
  web: http://jonathan.graehl.org/
  phone: 858-642-7562


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?NCBBLOALCKKINBNNEDDLGENDDLAA.jonathan>