From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1822 invoked by alias); 15 Apr 2008 20:47:13 -0000 Received: (qmail 1808 invoked by uid 22791); 15 Apr 2008 20:47:12 -0000 X-Spam-Check-By: sourceware.org Received: from qmta08.westchester.pa.mail.comcast.net (HELO QMTA08.westchester.pa.mail.comcast.net) (76.96.62.80) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Apr 2008 20:46:47 +0000 Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA08.westchester.pa.mail.comcast.net with comcast id DsAi1Z02H1HzFnQ580B800; Tue, 15 Apr 2008 20:45:33 +0000 Received: from gateway.sf.frob.com ([76.102.158.52]) by OMTA14.westchester.pa.mail.comcast.net with comcast id Dwjr1Z00M18718U3a00000; Tue, 15 Apr 2008 20:43:53 +0000 X-Authority-Analysis: v=1.0 c=1 a=Mp8WEBwWbE8A:10 a=EkON7fw8eWMA:10 a=wTtwwfCaagdeZrvD6gkPfQ==:17 a=ujSIV3cOB_qwA3Y72OAA:9 a=vc8ODx9Fig5L-uuVflDUFlnJHDQA:4 a=MxZ3bB5I4kYA:10 Received: from magilla.localdomain (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id E1FA0357B; Tue, 15 Apr 2008 13:43:50 -0700 (PDT) Received: by magilla.localdomain (Postfix, from userid 5281) id B0FEE26FA5E; Tue, 15 Apr 2008 13:43:50 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Daniel Jacobowitz X-Fcc: ~/Mail/linus Cc: Jan Kratochvil , Doug Evans , GDB Patches , mark.kettenis@xs4all.nl Subject: Re: [patch] Fix Linux attach to signalled/stopped processes In-Reply-To: Daniel Jacobowitz's message of Tuesday, 15 April 2008 08:43:54 -0400 <20080415124354.GB32510@caradoc.them.org> References: <20080401223012.GA14076@host0.dyn.jankratochvil.net> <20080410153735.GD21662@caradoc.them.org> <20080410154839.GA5375@host0.dyn.jankratochvil.net> <20080410231205.2DBFD26F992@magilla.localdomain> <20080411161824.GA4183@host0.dyn.jankratochvil.net> <20080412000155.7F07A26FA5E@magilla.localdomain> <20080414143448.GA32227@caradoc.them.org> <20080415012633.6573626FA5F@magilla.localdomain> <20080415124354.GB32510@caradoc.them.org> X-Zippy-Says: Place me on a BUFFER counter while you BELITTLE several BELLHOPS in the Trianon Room!! Let me one of your SUBSIDIARIES! Message-Id: <20080415204350.B0FEE26FA5E@magilla.localdomain> Date: Wed, 16 Apr 2008 07:01:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00300.txt.bz2 > > In practice you will 99.44% of the time be able to find some RT signal > > that is not blocked. But to worry about the 0.66% you still have to > > fall back to SIGSTOP, and in that case you can't rely on queuing. > > Wouldn't this be racy, again? If the process is running, it might be > about to block the signal we chose to stop it. Yes.