-
get_pri
iget_pri
-
ER get_pri (ID tskid, PRI *p_tskpri);
ER iget_pri (ID tskid, PRI *p_tskpri);
|
|
|
|
ID tskid;
|
ID number of the task to reference.
Value: ID number of the task to reference.
|
|
PRI *p_tskpri;
|
Current priority of specified task.
|
Stores current priority of the task specified by parameter
tskid in the area specified by parameter
p_tskpri.
|
|
|
|
|
|
|
|
- tskid > Maximum ID number
- When this service call was issued from a non-task, TSK_SELF was specified tskid.
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified task is in the DORMANT state.
|
|
|
- Specified task is not registered.
|