From owner-freebsd-net Fri Mar 2 0:57:13 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 7290037B71B for ; Fri, 2 Mar 2001 00:57:11 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f228vAJ01751 for ; Fri, 2 Mar 2001 00:57:10 -0800 From: "Jonathan Graehl" To: "Freebsd-Net" Subject: safety from EINTR Date: Fri, 2 Mar 2001 00:58:39 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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