Function mpool_capacity

Function Documentation

static inline size_t mpool_capacity(const struct mpool *const pool)

Determine maximum # elements in the memory pool.

Parameters:

pool – The pool handle.

Returns:

Max # elements in memory pool, or 0 on ERROR.