SYNTAX
void rtapi_task_self();
BESKRIVELSE
rtapi_task_self retrieves the current task, or -EINVAL if not in a realtime task (e.g., in startup or shutdown code).
SANNTIDSBETRAKTNINGER
May be called from init/cleanup code, and from within realtime tasks.
RETURVERDI
The task number previously returned by rtapi_task_new or -EINVAL.
SE OGSÅ
rtapi_task_new(3)