![]() |
EM-ODP 4.4.0
Event Machine on ODP
|
#include <objpool.h>

Data Fields | |
| list_node_t | list_node |
| uint32_t | subpool_idx |
| uint32_t | in_pool |
Object pool element, embedded in each object stored in the pool.
Must be included as a member of any struct that is to be managed by an objpool_t. The containing struct can be recovered with offsetof().
| list_node_t objpool_elem_t::list_node |
| uint32_t objpool_elem_t::subpool_idx |
subpool index: 0 .. objpool_t::nbr_subpools - 1