Module std::thread::local_impl

source ·
🔬This is a nightly-only experimental API. (thread_local_internals)

Re-exports

Structs

  • KeyExperimental
    Use a regular global static to store this key; the state provided will then be thread-local.

Functions

  • Run a callback in a scenario which must not unwind (such as a extern "C" fn declared in a user crate). If the callback unwinds anyway, then rtabort with a message about thread local panicking on drop.