EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
objpool_elem_t Struct Reference

#include <objpool.h>

Collaboration diagram for objpool_elem_t:

Data Fields

list_node_t list_node
 
uint32_t subpool_idx
 
uint32_t in_pool
 

Detailed Description

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().

Definition at line 70 of file objpool.h.

Field Documentation

◆ in_pool

uint32_t objpool_elem_t::in_pool

in pool: 1 = yes, 0 = no

Definition at line 76 of file objpool.h.

◆ list_node

list_node_t objpool_elem_t::list_node

node for linking into a subpool list

Definition at line 72 of file objpool.h.

◆ subpool_idx

uint32_t objpool_elem_t::subpool_idx

subpool index: 0 .. objpool_t::nbr_subpools - 1

Definition at line 74 of file objpool.h.


The documentation for this struct was generated from the following file: