about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-12 20:39:09 +0530
committerGitHub <noreply@github.com>2022-08-12 20:39:09 +0530
commita8c799a6a042392f293614da160e67700a363263 (patch)
tree7108b40da1ae70ba383bf330357648fed38ae3c3 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent569788e47ee3595c9c6f0e332844d982b3e991c2 (diff)
parent3d21c371effa15fcf3562b5b722c80623dbd2c43 (diff)
downloadrust-a8c799a6a042392f293614da160e67700a363263.tar.gz
rust-a8c799a6a042392f293614da160e67700a363263.zip
Rollup merge of #100022 - joboet:faster_threadid, r=joshtriplett
Optimize thread ID generation

By using atomics where available, thread IDs can be generated without locking while still enforcing uniqueness.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions