Function coroutines::set_work_stealing [] [src]

pub unsafe fn set_work_stealing(enabled: bool)

Enable / disable coroutine migration ("work stealing") globally. (disabled by default)

This should be used with care because migrating values of non-Send types might break Rust's safety guarantee.