about summary refs log tree commit diff
path: root/library/std/src/keyword_docs.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2025-04-01 13:35:16 +0200
committerjoboet <jonasboettiger@icloud.com>2025-04-01 13:35:16 +0200
commitff37c7d3954ce9d1c9265e7c82a0bb7b6eba6fee (patch)
treebd51ab4a98be13cd8519e284c1d1bbb496d67ff2 /library/std/src/keyword_docs.rs
parent45b40a75966b36d3588f173441896fddad01cd80 (diff)
downloadrust-ff37c7d3954ce9d1c9265e7c82a0bb7b6eba6fee.tar.gz
rust-ff37c7d3954ce9d1c9265e7c82a0bb7b6eba6fee.zip
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 'library/std/src/keyword_docs.rs')
0 files changed, 0 insertions, 0 deletions