rtapi_task_start - start a realtime task in periodic mode
int rtapi_task_start(int task_id, unsigned long period_nsec) |
task_id
A task ID returned by a previous call to rtapi_task_new
period_nsec
The clock period in nanoseconds between iterations of a periodic task
rtapi_task_start starts a task in periodic mode. The task must be in the paused state.
Call only from within init/cleanup code, not from realtime tasks.
Returns an RTAPI status code.
rtapi_task_new(3rtapi), rtapi_task_pause(3rtapi), rtapi_task_resume(3rtapi)