diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-14 00:15:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-14 19:29:02 +0100 |
commit | 315c9e794a5fb8f9672081dbd7493b5fd036ab05 (patch) | |
tree | fbcefd907c86a793e7668c6581c370a8502efc03 /mach | |
parent | 0fb8800029d230b3711bf722b2a47db92d0e273f (diff) | |
download | glibc-315c9e794a5fb8f9672081dbd7493b5fd036ab05.zip glibc-315c9e794a5fb8f9672081dbd7493b5fd036ab05.tar.gz glibc-315c9e794a5fb8f9672081dbd7493b5fd036ab05.tar.bz2 |
htl: Make pthread_[gs]etspecific not check for key validity
Since __pthread_key_create might be concurrently reallocating the
__pthread_key_destructors array, it's not safe to access it without the
mutex held. Posix explicitly says we are allowed to prefer performance
over error detection.
Diffstat (limited to 'mach')
0 files changed, 0 insertions, 0 deletions