summary refs log tree commit diff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-05 05:15:35 +0000
committerRoland McGrath <roland@gnu.org>2002-12-05 05:15:35 +0000
commitd5ed0118caf96e8b0d9d17e8434efafb8a183629 (patch)
tree8075122699c2101df4b58e2a7486f2ecc26b9bbe /nptl/pthread_create.c
parentac110745dcbef340ea4f5808f96a95bb306df3ae (diff)
downloadglibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.tar.gz
glibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.tar.xz
glibc-d5ed0118caf96e8b0d9d17e8434efafb8a183629.zip
* forward.c (pthread_self): Use FORWARD3 macro to correct return type.
	* sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db.
	* sysdeps/generic/td_ta_map_lwp2thr.c: New file.

	* pthread_create.c (start_thread): Add missing & on __nptl_last_event.
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 5fef400ee4..033c0783ea 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -233,7 +233,7 @@ start_thread (void *arg)
 
 	      do
 		pd->nextevent = __nptl_last_event;
-	      while (atomic_compare_and_exchange_acq (__nptl_last_event, pd,
+	      while (atomic_compare_and_exchange_acq (&__nptl_last_event, pd,
 						      pd->nextevent) != 0);
 	    }