diff options
author | Fangrui Song <i@maskray.me> | 2024-06-04 13:06:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 13:06:41 -0700 |
commit | a5729b71d844c1444f7d348dc2d4ea5b98de5ec5 (patch) | |
tree | 03e07c5d3c3fdfc41acee683cf7a1c6e08fca911 /utils | |
parent | 3b2df5b6ee81cf2685c95728ff1baf795051c926 (diff) | |
download | llvm-a5729b71d844c1444f7d348dc2d4ea5b98de5ec5.zip llvm-a5729b71d844c1444f7d348dc2d4ea5b98de5ec5.tar.gz llvm-a5729b71d844c1444f7d348dc2d4ea5b98de5ec5.tar.bz2 |
[atomics] Initialize pthread_mutex_t and avoid false sharing
PTHREAD_MUTEX_INITIALIZER is zeroes for glibc and musl, but it improves
conformance and might work with more libc implementations.
Follow-up to #94374
Pull Request: https://github.com/llvm/llvm-project/pull/94387
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions