From owner-freebsd-hackers Sat Jun 29 22: 4:51 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 07DC537B400 for ; Sat, 29 Jun 2002 22:04:48 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52B4B43E09 for ; Sat, 29 Jun 2002 22:04:47 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g5U54LrD025732; Sun, 30 Jun 2002 01:04:22 -0400 (EDT) Date: Sun, 30 Jun 2002 01:04:21 -0400 (EDT) From: Daniel Eischen To: Andrew MacIntyre Cc: Daniel Eischen , freebsd-hackers@freebsd.org Subject: Re: signals in apps built with -pthread In-Reply-To: Message-ID: 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 Sun, 30 Jun 2002, Andrew MacIntyre wrote: > 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? Should be no problem. It's already been committed to -current. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message