From owner-freebsd-questions Thu Apr 5 11:44: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.42.106.79]) by hub.freebsd.org (Postfix) with SMTP id 285A937B507 for ; Thu, 5 Apr 2001 11:44:01 -0700 (PDT) (envelope-from antipode@thpoon.com) Received: (qmail 10249 invoked from network); 5 Apr 2001 18:44:00 -0000 Received: from unknown (HELO tea.thpoon.com) (qmailr@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 5 Apr 2001 18:44:00 -0000 Received: (qmail 2500 invoked by uid 1000); 5 Apr 2001 18:43:59 -0000 To: freebsd-questions@FreeBSD.ORG Subject: [OT] Reinstalling signal handler inside signal handler From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Mail-Copies-To: never Date: 05 Apr 2001 14:43:59 -0400 Message-ID: <87d7ardw5s.fsf@tea.thpoon.com> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG FreeBSD man page for signal(3) states that Unlike previous signal facilities, the handler func() remains installed after a signal has been delivered. What "previous" signal facilities is this referring to? I've seen a lot of code where a signal handler function would re-install itself the first thing. But I've tested, and that doesn't appear to be necessary at least on FreeBSD and Linux. Is that for portability, or is that something else? Many thanks, -- Arcady Genkin Nostalgia isn't what it used to be. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message