aboutsummaryrefslogtreecommitdiff
path: root/libjava/posix-threads.cc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>2000-09-07 12:09:41 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2000-09-07 13:09:41 +0100
commitf52c723967006d4c135e46bb3e2974e54657a5d8 (patch)
tree2aff7df92e2b4fd1538b01d40b2af2d2e8d7730e /libjava/posix-threads.cc
parent8441bc30354967518401cd47ff5355cc2e3abbfe (diff)
downloadgcc-f52c723967006d4c135e46bb3e2974e54657a5d8.zip
gcc-f52c723967006d4c135e46bb3e2974e54657a5d8.tar.gz
gcc-f52c723967006d4c135e46bb3e2974e54657a5d8.tar.bz2
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
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 e6b4b25..e5a1668 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