diff options
| author | joboet <jonasboettiger@icloud.com> | 2025-04-01 13:35:16 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2025-04-01 13:35:16 +0200 |
| commit | ff37c7d3954ce9d1c9265e7c82a0bb7b6eba6fee (patch) | |
| tree | bd51ab4a98be13cd8519e284c1d1bbb496d67ff2 /library/std/src/keyword_docs.rs | |
| parent | 45b40a75966b36d3588f173441896fddad01cd80 (diff) | |
| download | rust-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
