suricata
|
#include <util-pool-thread.h>
Data Fields | |
SCMutex | lock |
Pool * | pool |
Consumers of this API MUST add PoolThreadReserved as the first member in the data structure. They also MUST ignore that data completely. It's managed by this API.
It's purpose is to make sure thread X can return data to a pool from thread Y.
Definition at line 45 of file util-pool-thread.h.
SCMutex PoolThreadElement_::lock |
lock, should have low contention
Definition at line 46 of file util-pool-thread.h.
Referenced by PoolThreadExpand(), PoolThreadFree(), PoolThreadGetById(), PoolThreadLock(), PoolThreadReturn(), and PoolThreadUnlock().
Pool* PoolThreadElement_::pool |
actual pool
Definition at line 47 of file util-pool-thread.h.
Referenced by PoolThreadExpand(), PoolThreadFree(), PoolThreadGetById(), PoolThreadReturn(), and PoolThreadReturnRaw().