Skip to main content

thread_key

Function thread_key 

Source
pub fn thread_key() -> usize
Expand description

A key unique to the calling thread among live threads — the address a thread_local! would give, without std. pthread_t on Linux is the thread’s descriptor address.