From owner-freebsd-threads@FreeBSD.ORG Tue Jul 20 01:23:17 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 D8B5F16A4CE; Tue, 20 Jul 2004 01:23:17 +0000 (GMT) Received: from exchhz01.viatech.com.cn (ip-40-162-97-218.anlai.com [218.97.162.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C4643D1D; Tue, 20 Jul 2004 01:23:15 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (DAVIDWNT [10.4.1.99]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id NVXA0BZ0; Tue, 20 Jul 2004 09:22:36 +0800 Message-ID: <40FC74CD.1080402@freebsd.org> Date: Tue, 20 Jul 2004 09:26:37 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <200407191352.50465.jhb@FreeBSD.org> In-Reply-To: <200407191352.50465.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: threads@FreeBSD.org Subject: Re: Patch to fix cv_wait return values 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, 20 Jul 2004 01:23:18 -0000 John Baldwin wrote: > I have a patch to try to sync up the semantics of the return values of > the (p->p_flag & P_WEXIT) really should be P_SINGLE_EXIT, P_WEXIT is turned on after process has only one thread. Others are OK for me. David Xu