This is the mail archive of the libc-alpha@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]

Re: [PATCH] Async signal safe TLS accesses


Committed as

commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7
Author: Andrew Hunter <ahh@google.com>
Date:   Fri Jan 3 11:22:26 2014 -0800

    Async-signal safe TLS.

    ChangeLog:

    2014-01-03  Andrew Hunter  <ahh@google.com>

        * elf/dl-open.c (): New comment.
        * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
        atomic_compare_and_exchange_bool_acq
        (_dl_allocate_static_tls): Block signals.
        * elf/dl-tls.c (allocate_and_init): Return void.
        (_dl_update_slotinfo): Block signals, use atomic update.

    nptl/ChangeLog:

    2014-01-03  Andrew Hunter  <ahh@google.com>

        * nptl/Makefile (tst-tls7): New test.
        * nptl/tst-tls7.c: New file.
        * nptl/tst-tls7mod.c: New file.
        * nptl/allocatestack.c (init_one_static_tls): Use atomic barrier.


Thanks everybody!

-- 
Paul Pluzhnikov


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