Date: Sun, 10 Oct 1999 22:25:19 +0200 From: Jos Backus <Jos.Backus@nl.origin-it.com> To: freebsd-hackers@freebsd.org Subject: Re: How to prevent a system call from restart? Message-ID: <19991010222519.B42122@hal.mpn.cp.philips.com> In-Reply-To: <Pine.GSO.3.96.991010150931.28616A-100000@sol.cs.binghamton.edu> References: <Pine.GSO.3.96.991010150931.28616A-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 10, 1999 at 03:16:43PM -0400, Zhihui Zhang wrote: > Later I find out that the reason maybe the recvfrom() restarts > *automatically* in FreeBSD. Maybe because of the following in /usr/src/lib/libc/gen/signal.c? sig_t signal(s, a) int s; sig_t a; [...] if (!sigismember(&_sigintr, s)) sa.sa_flags |= SA_RESTART; ? -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; 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?19991010222519.B42122>