tk_del_mpl
Delete Variable-size Memory Pool
ER ercd = tk_del_mpl ( ID mplid ) ;
ID mplid Variable-size memory pool ID
ER ercd Error code
E_OK Normal completion
E_ID Invalid ID number (mplid is invalid or cannot be used)
E_NOEXS Object does not exist (the variable-size memory pool specified in mplid does not exist)
Deletes the variable-size memory pool specified in mplid.
No check or notification is made as to whether there are tasks using memory allocated from this memory pool. The system call completes normally even if some blocks have not been returned to the pool.
Issuing this system call releases the memory pool ID number, the control block memory space and the memory pool space itself.
This system call completes normally even if there are tasks waiting for memory block allocation from the deleted memory pool, but error code E_DLT is returned to the tasks in WAIT state.

Comments
Click here to Post a Comment