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