[kaffe] Kaffe CVS: kaffe jim

Kaffe CVS kaffe@kaffe.org
Fri, 31 May 2002 20:27:22 -0700


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	jim	02/05/31 20:27:22

Modified files:
	.              : ChangeLog 
	kaffe/kaffevm/systems/unix-jthreads: jthread.c 

Log message:
From: Timothy Stack <stack@cs.utah.edu>

* Attached is a fix for unix-jthreads that should better handle
large timeout values.  For example:

synchronized( this )
{
this.wait(Long.MAX_VALUE);
}

eventually reaches this code:

jtid->time = timeout + currentTime();

which overflows and gives a bogus value.