This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/15215] Unify pthread_once implementations.


https://sourceware.org/bugzilla/show_bug.cgi?id=15215

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  36875b06e0ed7f137190b9228bef553adfc338ba (commit)
      from  579db35a068e70a4f3112000778138ede6994ac0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=36875b06e0ed7f137190b9228bef553adfc338ba

commit 36875b06e0ed7f137190b9228bef553adfc338ba
Author: Torvald Riegel <triegel@redhat.com>
Date:   Wed May 8 16:35:10 2013 +0200

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   13 ++
 nptl/sysdeps/unix/sysv/linux/pthread_once.c        |  131 ++++++++++++++++++++
 nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c  |   93 --------------
 ports/ChangeLog.hppa                               |    5 +
 .../unix/sysv/linux/hppa/nptl/pthread_once.c       |   93 --------------
 .../unix/sysv/linux/aarch64/nptl/pthread_once.c    |   90 --------------
 sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c    |   89 -------------
 sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c   |   93 --------------
 sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c   |   90 --------------
 sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c   |   93 --------------
 sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c   |   94 --------------
 11 files changed, 149 insertions(+), 735 deletions(-)
 create mode 100644 nptl/sysdeps/unix/sysv/linux/pthread_once.c
 delete mode 100644 nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c
 delete mode 100644 ports/sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
 delete mode 100644 sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]