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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user