From owner-freebsd-java Wed Dec 12 16: 7:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id A989E37B416 for ; Wed, 12 Dec 2001 16:07:41 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.33 #1 (Debian)) id 16EJPN-0000yd-00; Wed, 12 Dec 2001 16:07:29 -0800 Date: Wed, 12 Dec 2001 16:07:29 -0800 To: Daniel Eischen Cc: Bill Huey , Nate Williams , absinthe@pobox.com, shanon loveridge , freebsd-java@FreeBSD.ORG Subject: Re: Pthreads bug fix [was Re: jdk1.3.1p5] Message-ID: <20011213000729.GA3743@gnuppy> References: <20011212074342.GB4677@gnuppy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Dec 12, 2001 at 07:24:12AM -0500, Daniel Eischen wrote: > Yes, this should keep the state equal to PS_SUSPENDED. When the thread > is resumed, its state should be set to PS_RUNNING and then it will be > added back to the run queue. ... > Suspsended threads are not placed in the waiting queue unless they > are _already_ in the waiting queue (e.g. due to waiting on a condition > variable). Any thread that is in the waiti queue and times out should > become runnable unless it is suspended, in which case it should just > be removed from the waiting queue and remain in a suspended state. I'll try this latter on today and see if it works. billh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message