53typedef struct BufPool {
74void bufpoolInit(_Out_ BufPool* pool,
size_t bufsz, uint32 initial, uint32 max);
95_At_(*buf, _Pre_maybenull_ _Post_null_)
void bufpoolPut(_Inout_ BufPool* pool,
Simple buffer management.
void bufpoolPut(BufPool *pool, Buffer *buf)
void bufpoolCollect(BufPool *pool)
Buffer bufpoolGet(BufPool *pool)
void bufpoolInit(BufPool *pool, size_t bufsz, uint32 initial, uint32 max)
void bufpoolDestroy(BufPool *pool)
uint32 bufpoolInUse(BufPool *pool)
Lock-free pointer FIFO queue.