posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case.
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case. From-SVN: r29193
This commit is contained in:
parent
f3ad1f9c0d
commit
400ec27079
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
1999-09-07 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error
|
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error
|
||||||
|
@ -6,7 +11,7 @@
|
||||||
* posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR,
|
* posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR,
|
||||||
not `r'. Changed `done_sleeping' to a `bool'.
|
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.
|
* libjava/posix-threads.cc: Added _Jv_ThreadDataKey.
|
||||||
Added FLAG_INTERRUPTED to indicate that a thread was interrupted
|
Added FLAG_INTERRUPTED to indicate that a thread was interrupted
|
||||||
|
|
|
@ -11,6 +11,7 @@ Franz Sirl Franz.Sirl-kernel@lauterbach.com
|
||||||
Geoff Berry gcb@gnu.org
|
Geoff Berry gcb@gnu.org
|
||||||
Gilles Zunino Gilles.Zunino@hei.fr
|
Gilles Zunino Gilles.Zunino@hei.fr
|
||||||
Kresten Krab Thorup krab@gnu.org
|
Kresten Krab Thorup krab@gnu.org
|
||||||
|
Matt Welsh mdw@cs.berkeley.edu
|
||||||
Per Bothner per@bothner.com
|
Per Bothner per@bothner.com
|
||||||
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
|
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
|
||||||
Stu Grossman grossman@juniper.net
|
Stu Grossman grossman@juniper.net
|
||||||
|
|
|
@ -114,7 +114,7 @@ _Jv_PthreadCheckMonitor (_Jv_Mutex_t *mu)
|
||||||
// On Linux we exploit knowledge of the implementation.
|
// On Linux we exploit knowledge of the implementation.
|
||||||
int r = pmu->m_count == 1;
|
int r = pmu->m_count == 1;
|
||||||
#elif defined (PTHREAD_MUTEX_HAVE___M_COUNT)
|
#elif defined (PTHREAD_MUTEX_HAVE___M_COUNT)
|
||||||
int r = pmu->__m_count == 1;
|
int r = (pthread_t) pmu->__m_owner == pthread_self ();
|
||||||
#else
|
#else
|
||||||
int r = mu->count == 0;
|
int r = mu->count == 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue