summaryrefslogtreecommitdiff
path: root/libjava/posix-threads.cc
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-07 12:09:41 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-07 12:09:41 +0000
commitfc3311572ef62d746bcd4c4be72058154b60977b (patch)
tree2aff7df92e2b4fd1538b01d40b2af2d2e8d7730e /libjava/posix-threads.cc
parent0d40c9f533cfd99ea6b31c72f8678a34006cfb5b (diff)
downloadgcc-fc3311572ef62d746bcd4c4be72058154b60977b.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36234 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/posix-threads.cc')
-rw-r--r--libjava/posix-threads.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/posix-threads.cc b/libjava/posix-threads.cc
index e6b4b256720..e5a1668dac8 100644
--- a/libjava/posix-threads.cc
+++ b/libjava/posix-threads.cc
@@ -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