htl: Add support for static TSD data
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 8 Aug 2023 10:10:06 +0000 (12:10 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 8 Aug 2023 10:17:48 +0000 (12:17 +0200)
commit644aa127b9b42a899a12b6ccc6644bc035c231e3
tree46590a3c1c485dc2f423ded55671f4cb56bed532
parentdcad5c8578130dec7f35fd5b0885304b59f9f543
htl: Add support for static TSD data

When using jemalloc, malloc() needs to use TSD, while libpthread
initialization needs malloc(). Supporting a static TSD area allows jemalloc
and libpthread to initialize together.
sysdeps/htl/pt-destroy-specific.c
sysdeps/htl/pt-getspecific.c
sysdeps/htl/pt-init-specific.c
sysdeps/htl/pt-key-create.c
sysdeps/htl/pt-key-delete.c
sysdeps/htl/pt-key.h
sysdeps/htl/pt-setspecific.c