-
ref_mbx
iref_mbx
-
ER ref_mbx (ID mbxid, T_RMBX *pk_rmbx);
ER iref_mbx (ID mbxid, T_RMBX *pk_rmbx);
|
|
|
|
ID mbxid;
|
ID number of the mailbox to be referenced.
|
|
T_RMBX *pk_rmbx;
|
Pointer to the packet returning the mailbox state.
|
[Mailbox state packet: T_RMBX]
typedef struct t_rmbx {
ID wtskid; /*Existence of waiting task*/
T_MSG *pk_msg; /*Existence of waiting message*/
ATR mbxatr; /*Attribute*/
} T_RMBX;
|
Stores mailbox state packet (ID number of the task at the head of the wait queue, start address of the message packet at the head of the wait queue) of the mailbox specified by parameter
mbxid in the area specified by parameter
pk_rmbx.
|
|
|
|
|
|
|
|
- mbxid > Maximum ID number
|
|
|
- This service call was issued in the CPU locked state.
|
|
|
- Specified mailbox is not registered.
|