logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rtapi_task_start - start a realtime task in periodic mode

Arguments

task_id
              A task ID returned by a previous call to rtapi_task_newperiod_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.

Name

       rtapi_task_start - start a realtime task in periodic mode

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(3rtapi), rtapi_task_pause(3rtapi), rtapi_task_resume(3rtapi)

LinuxCNC Documentation                             2006-10-12                           rtapi_task_start(3rtapi)

Syntax


       int rtapi_task_start(int task_id, unsigned long period_nsec)

See Also