From owner-freebsd-threads@FreeBSD.ORG Wed Jul 28 04:27:23 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 EAE4416A513 for ; Wed, 28 Jul 2004 04:27:23 +0000 (GMT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDA7943D54 for ; Wed, 28 Jul 2004 04:27:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 25989 invoked from network); 28 Jul 2004 04:27:23 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Jul 2004 04:27:23 -0000 Received: from slimer.baldwin.cx (slimer.baldwin.cx [192.168.0.16]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i6S4QMKm076150; Wed, 28 Jul 2004 00:27:20 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: David Xu Date: Tue, 27 Jul 2004 23:17:18 -0400 User-Agent: KMail/1.6 References: <200407191352.50465.jhb@FreeBSD.org> <40FC74CD.1080402@freebsd.org> In-Reply-To: <40FC74CD.1080402@freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407272317.19000.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx 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: Wed, 28 Jul 2004 04:27:24 -0000 On Monday 19 July 2004 09:26 pm, David Xu wrote: > 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. Can you fix it in msleep() then and I'll sync cv's up with that? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org