+1999-09-08 Tom Tromey <tromey@cygnus.com>
+
+ * include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test
+ in __m_count case.
+
1999-09-07 Tom Tromey <tromey@cygnus.com>
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error
* 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
+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
Geoff Berry gcb@gnu.org
Gilles Zunino Gilles.Zunino@hei.fr
Kresten Krab Thorup krab@gnu.org
+Matt Welsh mdw@cs.berkeley.edu
Per Bothner per@bothner.com
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Stu Grossman grossman@juniper.net
// On Linux we exploit knowledge of the implementation.
int r = pmu->m_count == 1;
#elif defined (PTHREAD_MUTEX_HAVE___M_COUNT)
- int r = pmu->__m_count == 1;
+ int r = (pthread_t) pmu->__m_owner == pthread_self ();
#else
int r = mu->count == 0;
#endif