pub fn main_thread_id() -> Option<ThreadId>
Returns the ThreadId previously designated as the main thread, if any.
ThreadId