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