From owner-freebsd-current@FreeBSD.ORG Mon Oct 5 22:30:45 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 667ED1065670 for ; Mon, 5 Oct 2009 22:30:45 +0000 (UTC) (envelope-from justin.teller@gmail.com) Received: from mail-qy0-f192.google.com (mail-qy0-f192.google.com [209.85.221.192]) by mx1.freebsd.org (Postfix) with ESMTP id 1F0988FC0C for ; Mon, 5 Oct 2009 22:30:44 +0000 (UTC) Received: by qyk30 with SMTP id 30so3913406qyk.7 for ; Mon, 05 Oct 2009 15:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=yk4Af6dGNtB2GBv2Knf6rzmiZtd3Uk2ysPt+T63ItGU=; b=IvipC2jezEipNQFHbscm/1imiOeZx+f8rO1/xbK2odwVOturKCG2LSBrVY/skzhsGt yjVwyTvTuE91/35SX76dH0+U/cOnGkTlCkq6uRrRItjrZjlm/HOnSFVE6KwC684XcL5O XZn8HNztPtg3oSyv3dLs1X258FOIfVodQyEaQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dkxyMQDBkaq4/2R6fHDBov4VFAQYeJ6cEvi3ztci5SWc9j0Cny6wubpB0TnKpWZBZ9 djT3DcyZCjfRXJOPzGb7picw6msSOg/d2ZL+ZO9owJGFXVA7EqBn6EKA2OtCYusK8W3c hisjq2OBGUhmwNRc/QwgIBtNUvudHYr4MgU3Q= MIME-Version: 1.0 Received: by 10.224.40.137 with SMTP id k9mr675753qae.262.1254781844377; Mon, 05 Oct 2009 15:30:44 -0700 (PDT) In-Reply-To: <20091005192144.GA2259@deviant.kiev.zoral.com.ua> References: <20091001120730.GR3130@deviant.kiev.zoral.com.ua> <20091002201213.GA16633@stack.nl> <20091005192144.GA2259@deviant.kiev.zoral.com.ua> Date: Mon, 5 Oct 2009 15:30:44 -0700 Message-ID: From: Justin Teller To: Kostik Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Jilles Tjoelker Subject: Re: Signals and an exiting thread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 22:30:45 -0000 2009/10/5 Kostik Belousov : -- snip -- > > I agree that postponing assignment of the thread for signal delivery > till the actual delivery occurs is the proper fix. I tried to cheat > in my previous patch. Below is an experimental change that did very > minimal testing. > -- snip diff -- I like where you're going with the patch. I'll test it out as well and let you know what I find. Thanks! -Justin