From owner-freebsd-hackers Sat Jun 29 21:21: 8 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 1E49737B401 for ; Sat, 29 Jun 2002 21:21:03 -0700 (PDT) Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6608143E0A for ; Sat, 29 Jun 2002 21:21:00 -0700 (PDT) (envelope-from andymac@bullseye.apana.org.au) Received: from bullseye.apana.org.au (dialup-1.aaa.net.au [203.14.230.66]) by posgate.acis.com.au (8.11.6/8.11.6) with ESMTP id g5U4EJR10263; Sun, 30 Jun 2002 14:14:20 +1000 Received: from bullseye.apana.org.au (tenring.andymac.org [203.9.107.238]) by bullseye.apana.org.au (8.11.6/8.11.6) with ESMTP id g5TNEj359159; Sun, 30 Jun 2002 09:14:45 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Sun, 30 Jun 2002 09:09:32 +1100 (edt) From: Andrew MacIntyre To: Daniel Eischen Cc: Subject: Re: signals in apps built with -pthread In-Reply-To: <3D10FA39.878E8703@vigrid.com> Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 19 Jun 2002, Daniel Eischen wrote: > Andrew MacIntyre wrote: {...} > > The attached C code is a simple example of a signal handling situation > > which works in the non-threaded interpreter, but fails in a threaded > > interpreter. {...} > Try the patch included at the bottom. {...} > Index: uthread/uthread_sigpending.c {...} > Index: uthread/uthread_sigsuspend.c This patch does indeed resolve the issue with the Python interpreter. Could I expect this patch to be applied to -stable before 4.7? BTW, my apologies for the extended delay in this response. Regards, Andrew. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message