pub fn current_thread_id<Os>(vmi: &VmiState<'_, Os>) -> Option<u32>where Os: VmiOs,
Returns the thread ID of the current thread, if available.