rust/library/std/src/thread
Matthias Krüger c93c2985d8
Rollup merge of #110049 - SkiFire13:localkey-with-docs-fix, r=workingjubilee
Don't claim `LocalKey::with` prevents a reference to be sent across threads

The documentation for `LocalKey` claims that `with` yields a reference that cannot be sent across threads, but this is false since you can easily do that with scoped threads. What it actually prevents is the reference from outliving the current thread.
2023-05-15 17:12:44 +02:00
..
local std test: better type name, clarifying comment 2023-01-09 16:08:26 +01:00
local.rs Rollup merge of #110049 - SkiFire13:localkey-with-docs-fix, r=workingjubilee 2023-05-15 17:12:44 +02:00
mod.rs avoid duplicating TLS state between test std and realstd 2023-04-28 17:24:16 +02:00
scoped.rs fix dupe word typos 2022-12-05 16:42:36 +08:00
tests.rs Remove and fix useless drop of reference 2023-05-10 19:36:01 +02:00