mk_handle_pool_allocfunction
uint32_t mk_handle_pool_alloc(mk_handle_pool_t *pool)Allocate a new handle from the pool.
| Parameter | Type | Description |
|---|---|---|
pool | mk_handle_pool_t * | Pool to allocate from |
Returns New handle ID, or 0 if pool is exhausted