From owner-freebsd-threads@FreeBSD.ORG Sat Jun 12 01:17:37 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E019716A4CE; Sat, 12 Jun 2004 01:17:37 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E46D43D48; Sat, 12 Jun 2004 01:17:37 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id A8FA3FD087; Fri, 11 Jun 2004 18:17:03 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05386-09; Fri, 11 Jun 2004 18:17:03 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 29524FD005; Fri, 11 Jun 2004 18:17:03 -0700 (PDT) From: Sean McNeil To: David Xu In-Reply-To: <40CA5552.9090900@freebsd.org> References: <1086944114.76446.5.camel@server.mcneil.com> <1086946114.76446.16.camel@server.mcneil.com> <40CA330F.5090103@freebsd.org><40CA5552.9090900@freebsd.org> Content-Type: text/plain Message-Id: <1087003022.95306.0.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 11 Jun 2004 18:17:02 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: signal handler priority issue X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 01:17:38 -0000 On Fri, 2004-06-11 at 17:58, David Xu wrote: > Sean McNeil wrote: > > >What old signal mask? It should be the signals that sigsuspend allows > >that get handled within sigsuspend. Make sure the following can still > >happen: > > > >signal is masked. > >sigsuspend is called with signal unmasked. > >signal comes in or is pending already. > >signal handler is called. > >sigsuspend returns. > > > >Sean > > > > > please try : > http://people.freebsd.org/~davidxu/kse/sigsuspend.diff Great job, David. Solves my issue. Cheers, Sean