crossbeam_channel::waker

Function current_thread_id

Source
fn current_thread_id() -> ThreadId
Expand description

Returns the id of the current thread.