Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 17:57:32 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Dmitry Dicky <diwil@dataart.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: recvfrom() and signals
Message-ID:  <20001219175732.A7496@lanczos.maths.tcd.ie>
In-Reply-To: <20001219094505.P19572@fw.wintelcom.net>; from bright@wintelcom.net on Tue, Dec 19, 2000 at 09:45:05AM -0800
References:  <XFMail.001219200110.diwil@dataart.com> <20001219094505.P19572@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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