pub unsafe extern "C" fn rtapi_task_self() -> c_int
Expand description

‘rtapi_task_self()’ returns the task ID of the current task or -EINVAL. May be called from init/cleanup code, and from within realtime tasks.