From owner-freebsd-hackers Tue Dec 19 9:57:37 2000 From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 19 09:57:36 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 40FE337B400 for ; Tue, 19 Dec 2000 09:57:35 -0800 (PST) Received: from lanczos.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 19 Dec 2000 17:57:34 +0000 (GMT) Date: Tue, 19 Dec 2000 17:57:32 +0000 From: David Malone To: Alfred Perlstein Cc: Dmitry Dicky , freebsd-hackers@FreeBSD.ORG Subject: Re: recvfrom() and signals Message-ID: <20001219175732.A7496@lanczos.maths.tcd.ie> References: <20001219094505.P19572@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001219094505.P19572@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Dec 19, 2000 at 09:45:05AM -0800 Sender: dwmalone@maths.tcd.ie Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Dec 19, 2000 at 09:45:05AM -0800, Alfred Perlstein wrote: > See the sigaction manpage and how one enable/disables system call > restarts. He is setting the signal handler with signal(), which calls sigaction() without the SA_RESTART flag set, so it seems that should interrupt recvfrom(). It is possible that something is calling siginterrupt() somewhere which changes what signal() does? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message