set_thread_schedule
function · ferroui-system · v0.5.0
fn set_thread_schedule(schedule: Option<std::sync::Arc<dyn Schedule>>)
Makes schedule the schedule of the current thread, None removes it: when a wake of a task
of the thread's queue, or a callback of the thread (CancellationToken::register_local), comes
from another thread, the schedule is given work that runs run_pending. When a schedule is
set, the wakes that are waiting already run at once. A dispatcher is the schedule of its thread
from its start to its shutdown.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.