Skip to main content

thread_tuning_enabled

Function thread_tuning_enabled 

Source
pub fn thread_tuning_enabled() -> bool
Expand description

Whether a shell should schedule its render thread through the frame class — true unless the NO_THREAD_TUNING_VAR kill switch is engaged (compile-time define or runtime env, any non-"0" value), parsed exactly like render_thread_enabled. Read once, on the render thread, before its loop starts.