-
vrst_mbf
-
ER vrst_mbf (ID mbfid);
|
|
|
|
ID mbfid;
|
ID number of the message buffer.
|
This service call reset the message buffer specified by parameter
mbfid.
The messages having been accumulated by the message buffer area are annulled. The tasks to wait to send message to the target message buffer are released from the WAITING state, and EV_RST is returned as a return value for the tasks.
Note 1 In this service call, the tasks to wait to receive message do not released from the WAITING state.
Note 2 This service call is the function outside
mITRON4.0 specification.
|
|
|
|
|
|
|
|
|
|
|
- This service call was issued from a non-task.
- This service call was issued in the CPU locked state.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
|
|
|
- Stack pointer points out of user stack for invoking task.
|
|
|
- The message buffer specified by mbfid does not exist.
|