about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/join.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index ccc38ebd71..6072abc81c 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-29  Bruno Haible  <clisp.cons.org>
+
+	* join.c (pthread_exit): Use THREAD_GETMEM_NC instead of THREAD_GETMEM
+	for eventmask larger than 1 word.
+
 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
 
 	* Versions [libpthread] (GLIBC_2.2): Add __pthread_initialize_minimal.
diff --git a/linuxthreads/join.c b/linuxthreads/join.c
index 5a97b17f97..2716d799c1 100644
--- a/linuxthreads/join.c
+++ b/linuxthreads/join.c
@@ -45,8 +45,8 @@ void pthread_exit(void * retval)
       uint32_t mask = __td_eventmask (TD_DEATH);
 
       if ((mask & (__pthread_threads_events.event_bits[idx]
-		   | THREAD_GETMEM(self,
-				   p_eventbuf.eventmask).event_bits[idx]))
+		   | THREAD_GETMEM_NC(self,
+				      p_eventbuf.eventmask.event_bits[idx])))
 	  != 0)
 	{
 	  /* Yep, we have to signal the death.  */