From owner-freebsd-threads@FreeBSD.ORG Mon Feb 9 23:33:21 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 B551216A4CE; Mon, 9 Feb 2004 23:33:21 -0800 (PST) Received: from rms04.rommon.net (rms04.rommon.net [212.54.2.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BD8043D1F; Mon, 9 Feb 2004 23:33:21 -0800 (PST) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (h81.vuokselantie10.fi [193.64.42.129]) by rms04.rommon.net (8.12.9p1/8.12.9) with ESMTP id i1A7XIcM063255; Tue, 10 Feb 2004 09:33:18 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <40288901.7030306@he.iki.fi> Date: Tue, 10 Feb 2004 09:32:17 +0200 From: Petri Helenius User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Xu References: <200402100531.i1A5VZHp078881@freefall.freebsd.org> <40287A33.9050008@freebsd.org> In-Reply-To: <40287A33.9050008@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Daniel Eischen cc: tege@swox.se cc: freebsd-threads@freebsd.org Subject: Re: kern/33951: pthread_cancel is ignored 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: Tue, 10 Feb 2004 07:33:21 -0000 David Xu wrote: >> > I had enabled asynchornous cancelling for M:N thread in libkse but not > 1:1 thread, > simplest way to support asynchronous cancelling for 1:1 is to use > signal, but it will > occupy a signal like Linux's SIGUSR1, another way is to use upcall, > but it is > slight complicated. > One of the features I dislike with linuxthreads is that it eats one of the two USR signals. It complicates things like debugging because then you have to read files instead of just using one signal to set debug=0 and the other to debug++. Pete