rustc_data_structures::sync::worker_local

Constant THREAD_DATA

Source
const THREAD_DATA: LocalKey<ThreadData>;
Expand description

A thread local which contains the identifier of REGISTRY but allows for faster access. It also holds the index of the current thread.