RTEMS ITRON 3.0 API User's Guide
The chg_pri system call changes the current priority of the task specified by tskid to the value specified by tskpri.
A task may specify itself by specifying tskid = TSK_SELF = 0. Note, however, that an E_ID error will result if tskid = TSK_SELF = 0 is specified to a system call issued from a task-independent portion.
The priority set by this system call remains in effect until the task exits. Once a task enters DORMANT state, its priority prior to exiting is lost. When a task which enters DORMANT state restarts, the initial task priority (itskpri) specified at task creation or at system startup will be used.
RTEMS ITRON 3.0 API User's Guide
Copyright © 1988-2004 OAR Corporation