winit::platform_impl::linux

Function is_main_thread

Source
fn is_main_thread() -> bool