From owner-freebsd-hackers Tue Sep 24 10:24: 9 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D826B37B401 for ; Tue, 24 Sep 2002 10:24:08 -0700 (PDT) Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAEB43E4A for ; Tue, 24 Sep 2002 10:24:08 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0304.cvx21-bradley.dialup.earthlink.net ([209.179.193.49] helo=mindspring.com) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17ttPc-0005vB-00; Tue, 24 Sep 2002 10:23:53 -0700 Message-ID: <3D909F67.CE03D475@mindspring.com> Date: Tue, 24 Sep 2002 10:22:47 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Eischen Cc: Andriy Gapon , julian@elischer.org, hackers@FreeBSD.org Subject: Re: libc_r in stable References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Daniel Eischen wrote: > > Set SA_RESTART in the sa_flags of the sigaction for the scheduling > > signal. Use "man sigaction" for details. > > Yes, for application installed signal handlers. > > Try this for library installed signal handlers (patch > to -current). > > http://people.freebsd.org/~deischen/libc_r.diffs Most of this diff is good, but... - act.sa_flags = SA_RESTART | SA_SIGINFO; + act.sa_flags = SA_RESTART | SA_SIGINFO | SA_RESTART; Setting the bejesus out of the bit probably isn't more effective than setting it once. 8-) 8-) 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message