struct nx_clock_domain nx_clock_domain_t
Opaque provider, statically supplied by its privileged owner.
nx_result_t nx_clock_domain_close(nx_clock_domain_t *domain, nx_clock_barrier_t *control)
Close admission and return the current epoch control.
nx_clock_power_mode_t
Only shallow sleep preserves the established clock/time domain.
struct nx_clock_lease nx_clock_lease_t
One stable caller-owned consumer token.
nx_result_t nx_clock_domain_quiescent(nx_clock_barrier_t control)
Validate closed admission and zero retained consumers.
nx_result_t nx_clock_domain_reopen(nx_clock_barrier_t control)
Reopen a drained domain under a new admission epoch.
nx_result_t nx_clock_domain_release(nx_clock_domain_t *domain, nx_clock_lease_t *lease)
Remove the exact retained token after consumer drain.
nx_result_t nx_clock_domain_acquire(nx_clock_domain_t *domain, nx_clock_lease_t *lease)
Acquire one admitted clock consumer without waiting.