From owner-freebsd-threads@FreeBSD.ORG Thu May 29 13:00:53 2003 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 9A3CB37B401 for ; Thu, 29 May 2003 13:00:53 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E485343F3F for ; Thu, 29 May 2003 13:00:52 -0700 (PDT) (envelope-from eischen@pcnet.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h4TK0qNc021443; Thu, 29 May 2003 16:00:52 -0400 (EDT) Date: Thu, 29 May 2003 16:00:52 -0400 (EDT) From: Daniel Eischen To: Alexander Kabaev In-Reply-To: <20030529194855.GA58411@kan.dnsalias.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Martin Blapp cc: freebsd-threads@freebsd.org Subject: Re: lock with openoffice build with libkse 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: Thu, 29 May 2003 20:00:53 -0000 On Thu, 29 May 2003, Alexander Kabaev wrote: > Daniel, > > attached program is enough to trigger the loop. It looks like > the setjump/longjmp from signal handler trick only forks for ^^^^^ works? > the first time. I'll look at it, but setjmp/longjmp call _sigprocmask() which is wrapped by the threads library. This changes the thread signal mask, not the kernel's (kernel thread) signal mask. This means that subsequent signals will be blocked because the kernel never gets notified that the mask should be reset. -- Dan Eischen