SYNTAX
ARGUMENTS
- 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
DESCRIPTION
rtapi_task_start starts a task in periodic mode. The task must be in the paused state.
REALTIME CONSIDERATIONS
Call only from within init/cleanup code, not from realtime tasks.
RETURN VALUE
Returns an RTAPI status code.
SEE ALSO
rtapi_task_new(3), rtapi_task_pause(3), rtapi_task_resume(3)