about summary refs log tree commit diff
path: root/compiler/rustc_target
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-05-02 22:16:59 +1000
committerGitHub <noreply@github.com>2025-05-02 22:16:59 +1000
commit8ffdb00d4483d8f2797895adaa181ee30d8f922f (patch)
treef31a0a06c610ffd4847c06ac2add0c40fd86dcbf /compiler/rustc_target
parentc3f500ec4d1eef978dffe8d9b3a31c7481f82f0a (diff)
parentff37c7d3954ce9d1c9265e7c82a0bb7b6eba6fee (diff)
downloadrust-8ffdb00d4483d8f2797895adaa181ee30d8f922f.tar.gz
rust-8ffdb00d4483d8f2797895adaa181ee30d8f922f.zip
Rollup merge of #139206 - joboet:unique_thread_errno, r=ibraheemdev
std: use the address of `errno` to identify threads in `unique_thread_exit`

Getting the address of `errno` should be just as cheap as `pthread_self()` and avoids having to use the expensive `Mutex` logic because it always results in a pointer.
Diffstat (limited to 'compiler/rustc_target')
0 files changed, 0 insertions, 0 deletions