cre_mtx
acre_mtx
ER cre_mtx (ID mtxid, T_CMTX *pk_cmtx );
ER_ID acre_mtx ( T_CMTX *pk_cmtx );
The cre_mtx creates a mutex with mutex ID indicated by mtxid according to the content of pk_cmtx. The acre_mtx creates a mutex according to the content of pk_cmtx, and returns the created mutex ID.
- TA_CEILING ( = 0x0003)
Priority ceiling protocol
For details, refer to "8.2.3 Simplified priority ceiling protocol".
Priority ceiling protocol
For details, refer to "8.2.3 Simplified priority ceiling protocol".
Note Task wait queue is managed in task current priority order. Note, tasks of the same current priority are managed in FIFO order.
2 ) Ceiling priority (ceilpri)
The current task priority of the task which locks a mutex rises to the ceilpri.
Ranges of the value that can be specified are from 1 to TMAX_TPRI.
The current task priority of the task which locks a mutex rises to the ceilpri.
Ranges of the value that can be specified are from 1 to TMAX_TPRI.