Fixed and unified pthread_once.
commit36875b06e0ed7f137190b9228bef553adfc338ba
authorTorvald Riegel <triegel@redhat.com>
Wed, 8 May 2013 14:35:10 +0000 (8 16:35 +0200)
committerTorvald Riegel <triegel@redhat.com>
Fri, 11 Apr 2014 13:54:19 +0000 (11 15:54 +0200)
tree347e3826873e48eb6433e6d09666d7cef8904766
parent579db35a068e70a4f3112000778138ede6994ac0
Fixed and unified pthread_once.

[BZ #15215] This unifies various pthread_once architecture-specific
implementations which were using the same algorithm with slightly different
implementations.  It also adds missing memory barriers that are required for
correctness.
ChangeLog
nptl/sysdeps/unix/sysv/linux/pthread_once.c [new file with mode: 0644]
nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c [deleted file]
ports/ChangeLog.hppa
ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c [deleted file]
sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c [deleted file]