Skip to main content

pi_park_current_once

Function pi_park_current_once 

Source
pub fn pi_park_current_once(token: &PiWaitToken) -> Result<(), TaskError>
Expand description

Performs one scheduler park attempt for a PI waiter.

The caller must recheck ownership, interruption, and timeout after this function returns. This mirrors Linux rt_mutex_schedule(): an unrelated wake returns control to the rtmutex state loop instead of being consumed by an inner uninterruptible wait.