Skip to main content
get
thread_
local
1.1.10
In thread_
local::
thread_
id
thread_local
::
thread_id
Function
get
Copy item path
Source
pub(crate) fn get() ->
Thread
Expand description
Returns a thread ID for the current thread, allocating one if needed.