Returns to the OS memory-freed pages and no longer in use via mpool_free.
BOOLEAN mpool_compact( MPOOL pool );
pool
As memory pages return to the OS, the total physical and virtual memory burden for the process reduces, which you can observe with INtex (an INtime utility).
This call has an effect on only dynamic pools.
EEXIST |
The pool is deleted. |
EINVAL |
The pool is not a valid MPOOL. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 4.0 | intime/rt/include/mpool.h | mpool.h | clib.lib |