1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* 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.
This commit is contained in:
Roland McGrath
2002-12-05 05:15:35 +00:00
parent ac110745dc
commit d5ed0118ca
5 changed files with 104 additions and 2 deletions

View File

@ -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);
}