Skip to main content

nros_platform_condvar_wait_until

Function nros_platform_condvar_wait_until 

Source
pub unsafe extern "C" fn nros_platform_condvar_wait_until(
    cv: *mut c_void,
    m: *mut c_void,
    abstime: u64,
) -> i8
Expand description

Like condvar_wait, but with an absolute monotonic deadline in MILLISECONDS on the nros_platform_clock_ns() epoch — i.e. clock_ns() / 1000000. Returns non-zero on timeout.

Spelt out because this said “clock_ms units” after RFC-0073 / phase-352 W6 retired nros_platform_clock_ms: it named a function that no longer exists, leaving a port author no way to resolve the unit from this header. The unit itself never changed — every port names the parameter abstime_ms and the Rust trait says milliseconds — so this is the wording catching up, not an ABI change.