diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-05 20:56:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-05 20:56:25 +0000 |
commit | 9702f151900e07f422cb2f3b824e70fa2aebce4a (patch) | |
tree | 8e6be113c7c5f8bd761f1846b08c4d0b2b552c7a /nptl | |
parent | 440d8bc2cd82f957a29cd29c3e29e70b6f232745 (diff) | |
download | glibc-9702f151900e07f422cb2f3b824e70fa2aebce4a.tar.gz glibc-9702f151900e07f422cb2f3b824e70fa2aebce4a.tar.xz glibc-9702f151900e07f422cb2f3b824e70fa2aebce4a.zip |
2002-12-05 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add missing & here too.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/createthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c index 3196a8c754..fc252e185d 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c +++ b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c @@ -92,7 +92,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) /* Enqueue the descriptor. */ 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); /* Now call the function which signals the event. */ |