1
Fork 0
rust/library/std/src/thread
bors b605c65b6e Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviper
Outline panicking code for `LocalKey::with`

See https://github.com/rust-lang/rust/pull/115491 for prior related modifications.

https://godbolt.org/z/MTsz87jGj shows a reduction of the code size for TLS accesses.
2025-01-21 02:23:15 +00:00
..
local std: make thread::current available in all thread_local! destructors 2024-10-02 18:04:21 +02:00
current.rs add comments explaining main thread identification 2025-01-14 13:37:28 +01:00
local.rs Outline panicking code for LocalKey::with 2025-01-08 00:29:20 +01:00
mod.rs add comments explaining main thread identification 2025-01-14 13:37:28 +01:00
scoped.rs Rollup merge of #132730 - joboet:after_main_sync, r=Noratrieb 2024-11-25 00:39:03 +08:00
spawnhook.rs Update doc comments for spawn hook. 2024-11-19 18:55:52 +01:00
tests.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00