TSK_self
2-500
C Interface
Syntax
curtask = TSK_self();
Parameters
Void
Return Value
TSK_Handle curtask;
/* handle for current task object */
Description
TSK_self returns the object handle for the currently executing task. This
function is useful when inspecting the object or when the current task
changes its own priority through TSK_setpri.
No task switch occurs when calling TSK_self.
See Also
TSK_self
Returns handle to the currently executing task