-
vrst_mpf
-
Reset fixed-sized memory pool.
ER vrst_mpf (ID mpfid);
|
|
|
|
ID mpfid;
|
ID number of the fixed-sized memory pool.
|
This service call reset the fixed-sized memory pool specified by parameter
mpfid.
The tasks to wait to get memory block from the target fixed-sized memory pool are released from the WAITING state, and EV_RST is returned as a return value for the tasks.
Note 1 All fixed-sized memory blocks that had already been acquired are returned to the target fixed-sized memory pool. Therefore, do not access those fixed-sized memory blocks after issuing this service call.
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 fixed-sized memory pool specified by mpfid does not exist.
|