next up previous
Next: Handling Tasks' Periods Up: API for LinuxRK Previous: Creating Periodic Tasks

Synchronizing Periodic Tasks

int rt_wait_for_start_time(void)   

int rt_wait_for_next_period(void)
Blocks the calling task until the first (start_time) or the next (next_period) periodic activation. The calling task must be periodic; returns RK_SUCCESS on success and RK_ERROR on failure (when invoked by a non periodic task).

Luca Abeni 2000-11-03