Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 16:07:29 -0800
From:      Bill Huey <billh@gnuppy.monkey.org>
To:        Daniel Eischen <eischen@pcnet1.pcnet.com>
Cc:        Bill Huey <billh@gnuppy.monkey.org>, Nate Williams <nate@yogotech.com>, absinthe@pobox.com, shanon loveridge <shanon_loveridge@yahoo.co.uk>, freebsd-java@FreeBSD.ORG
Subject:   Re: Pthreads bug fix [was Re: jdk1.3.1p5]
Message-ID:  <20011213000729.GA3743@gnuppy>
In-Reply-To: <Pine.SUN.3.91.1011212071002.11047A-100000@pcnet1.pcnet.com>
References:  <20011212074342.GB4677@gnuppy> <Pine.SUN.3.91.1011212071002.11047A-100000@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011213000729.GA3743>