|
CX Framework
Cross-platform C utility framework
|
Thread-safe pool of fixed-size buffers. More...
#include <cx/cx.h>#include <cx/buffer/buffer.h>#include <cx/thread/atomic.h>#include <cx/thread/prqueue.h>Go to the source code of this file.
Functions | |
| void | bufpoolInit (BufPool *pool, size_t bufsz, uint32 initial, uint32 max) |
| Buffer | bufpoolGet (BufPool *pool) |
| void | bufpoolPut (BufPool *pool, Buffer *buf) |
| uint32 | bufpoolInUse (BufPool *pool) |
| void | bufpoolCollect (BufPool *pool) |
| void | bufpoolDestroy (BufPool *pool) |
Thread-safe pool of fixed-size buffers.
Definition in file bufpool.h.