Skip to main content

main_thread_id

Function main_thread_id 

Source
pub fn main_thread_id() -> Option<ThreadId>
Expand description

Returns the ThreadId previously designated as the main thread, if any.