posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR, not `r'.
authorTom Tromey <tromey@cygnus.com>
Wed, 8 Sep 1999 00:43:06 +0000 (00:43 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 8 Sep 1999 00:43:06 +0000 (00:43 +0000)
commitfd59e3a04e282342dc4d5ab878a2df37bd44e2a8
tree0340cef1b68eb2b2d979c8dc372792f40a424945
parentd07d525a85f68646d68a5a2bc6c885894674ebc3
posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR, not `r'.

1999-09-07  Tom Tromey  <tromey@cygnus.com>

* posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR,
not `r'.  Changed `done_sleeping' to a `bool'.

1999-09-07  Matt Welsh <mdw@cs.berkeley.edu

* libjava/posix-threads.cc: Added _Jv_ThreadDataKey.
Added FLAG_INTERRUPTED to indicate that a thread was interrupted
by another thread, rather than by the GC.
(_Jv_CondWait): Prevent premature thread wakeup by GC.
(_Jv_InitThreads): Initialize _Jv_ThreadDataKey.
* libjava/include/posix-threads.h (_Jv_ThreadCurrentData): New
function.

From-SVN: r29177
libjava/ChangeLog
libjava/include/posix-threads.h
libjava/posix-threads.cc