Skip to main content

wake_task_here

Function wake_task_here 

Source
pub fn wake_task_here(id: TaskId) -> bool
Expand description

Like wake_task, but place the woken task on the calling CPU when its affinity allows it (directed wakeup).

Used by the IPC v2 call fast path (N3, spec §10): the server is enqueued on the caller’s CPU, without an IPI, and runs as soon as the caller blocks waiting for the reply; the reply wakes the caller back the same way. This is a placement hint, not a scheduling-context donation: the local scheduler class still decides when the woken task runs.