void PoolThreadUnlock(PoolThread *pt, PoolThreadId id)
void PoolThreadReturn(PoolThread *pt, void *data)
return data to thread pool
void PoolThreadReturnRaw(PoolThread *pt, PoolThreadId id, void *data)
void PoolThreadLock(PoolThread *pt, PoolThreadId id)
TcpSession * StreamTcpThreadCacheGetSession(void)
void StreamTcpThreadCacheCleanup(void)
void StreamTcpThreadCacheEnable(void)
enable segment cache. Should only be done for worker threads
TcpSegment * StreamTcpThreadCacheGetSegment(void)
void StreamTcpThreadCacheReturnSession(TcpSession *ssn)
PoolThread * segment_thread_pool
void StreamTcpThreadCacheReturnSegment(TcpSegment *seg)
uint32_t segs_returns_idx
TcpSegment * segs_cache[64]
TcpSegment * segs_returns[64]
TcpSession * ssns_returns[64]
uint32_t ssns_returns_idx
TcpSession * ssns_cache[64]
StreamingBufferSegment sbseg
int RunmodeIsUnittests(void)