From mboxrd@z Thu Jan 1 00:00:00 1970 From: "M. Warner Losh" Subject: Re: [Qemu-devel] [PATCH] use a thread id variable Date: Sun, 09 Mar 2008 10:09:11 -0600 (MDT) Message-ID: <20080309.100911.844330500.imp@bsdimp.com> References: <12047472772114-git-send-email-gcosta@redhat.com> <47D3AD53.6030809@codefidence.com> <20080309115826.GA8077@shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, chrisw@sous-sol.org, gcosta@redhat.com To: qemu-devel@nongnu.org, jamie@shareable.org Return-path: In-Reply-To: <20080309115826.GA8077@shareable.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org In message: <20080309115826.GA8077@shareable.org> Jamie Lokier writes: : Btw, unfortunately pthread_self() is not safe to call from signal : handlers. And also often times meaningless, as signal handlers can run in arbitrary threads... Warner ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/