tk_get_tid
Get Task Identi.er
ID tskid = tk_get_tid ( ) ;
None
ID tskid ID of the task in RUN state
None
Gets the ID number of the task currently in RUN state. Unless the task-independent portion is executing, the current RUN state task will be the invoking task.
If there is no task currently in RUN state, 0 is returned.
The task ID returned by tk_get_tid is identical to runtskid returned by tk_ref_sys.

Comments