|
suricata
|


Go to the source code of this file.
Data Structures | |
| struct | PoolThreadElement_ |
| struct | PoolThread_ |
| typedef struct PoolThreadElement_ | PoolThreadElement |
| typedef struct PoolThread_ | PoolThread |
| typedef uint16_t | PoolThreadId |
| void | PoolThreadRegisterTests (void) |
| PoolThread * | PoolThreadInit (int threads, uint32_t size, uint32_t prealloc_size, uint32_t elt_size, void *(*Alloc)(void), int(*Init)(void *, void *), void *InitData, void(*Cleanup)(void *), void(*Free)(void *)) |
| initialize a thread pool More... | |
| int | PoolThreadExpand (PoolThread *pt) |
| grow a thread pool by one More... | |
| void | PoolThreadFree (PoolThread *pt) |
| destroy the thread pool More... | |
| void * | PoolThreadGetById (PoolThread *pt, uint16_t id) |
| get data from thread pool by thread id More... | |
| void | PoolThreadReturn (PoolThread *pt, void *data) |
| return data to thread pool More... | |
| void | PoolThreadLock (PoolThread *pt, PoolThreadId id) |
| void | PoolThreadReturnRaw (PoolThread *pt, PoolThreadId id, void *data) |
| void | PoolThreadUnlock (PoolThread *pt, PoolThreadId id) |
| int | PoolThreadSize (PoolThread *pt) |
| get size of PoolThread (number of 'threads', so array elements) More... | |
Definition in file util-pool-thread.h.
| typedef struct PoolThread_ PoolThread |
| typedef struct PoolThreadElement_ PoolThreadElement |
Definition at line 1 of file util-pool-thread.h.
| typedef uint16_t PoolThreadId |
per data item reserved data containing the thread pool id
Definition at line 60 of file util-pool-thread.h.