[kaffe] Kaffe CVS: kaffe stack

Kaffe CVS cvs-commits at kaffe.org
Tue Jul 8 15:41:02 PDT 2003


CVSROOT:	/cvs/kaffe
Module name:	kaffe
Changes by:	stack	03/07/08 15:39:38

Modified files:
	.              : ChangeLog 
	kaffe/kaffevm/systems/unix-pthreads: lock-impl.c syscalls.c 
	                                     thread-impl.c 
	                                     thread-internal.h 
	libraries/clib/net: PlainSocketImpl.c 

Log message:
2003-07-08  Timothy S. Stack <stack at cs.utah.edu>'

* kaffe/kaffevm/systems/unix-pthreads/lock-impl.c:
Handle large timeout values correctly.

* kaffe/kaffevm/systems/unix-pthreads/syscalls.c:
Handle timeouts/interrupts correctly for accept/read.

* kaffe/kaffevm/systems/unix-pthreads/thread-impl.c:
(jthread_interrupt) Implemented using pthread_kill(SIG_RESUME).
(suspend_signal_handler) Use setjmp to dump register state to the
stack.

* kaffe/kaffevm/systems/unix-pthreads/thread-internal.h:
Moved jthread_interrupt implementation to thread-impl.c.

* libraries/clib/net/PlainSocketImpl.c:
Throw an exception when connect times out or is interrupted.  Pay
attention to ETIMEDOUT error value.





More information about the kaffe mailing list