PoolThreadElement_ Struct Reference

#include <util-pool-thread.h>

Collaboration diagram for PoolThreadElement_:

Data Fields

SCMutex lock

Detailed Description

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 42 of file util-pool-thread.h.

Field Documentation

SCMutex PoolThreadElement_::lock

lock, should have low contention

Definition at line 43 of file util-pool-thread.h.

Referenced by PoolThreadExpand(), PoolThreadFree(), PoolThreadGetById(), PoolThreadInit(), and PoolThreadReturn().

Pool* PoolThreadElement_::pool

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