Makefile.am (Thread.h): Don't be friends with native threads functions.
2000-09-07 Bryce McKinlay <bryce@albatross.co.nz> * Makefile.am (Thread.h): Don't be friends with native threads functions. * Makefile.in: Rebuilt. * java/lang/Thread.java (interrupt_flag): Make package-private. From-SVN: r36234
This commit is contained in:
committed by
Bryce McKinlay
parent
8441bc3035
commit
f52c723967
@@ -214,8 +214,8 @@ _Jv_CondNotify (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu)
|
||||
pthread_cond_signal (&target->wait_cond);
|
||||
pthread_mutex_unlock (&target->wait_mutex);
|
||||
|
||||
// Two successive notify() calls should not be delivered to the same
|
||||
// thread, so we remove the target thread from the cv wait list now.
|
||||
// Two concurrent notify() calls must not be delivered to the same
|
||||
// thread, so remove the target thread from the cv wait list now.
|
||||
if (prev == NULL)
|
||||
cv->first = target->next;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user