sc_automationPacketPool Struct Reference

A pool of packets for constant time allocation and release. More...

#include <si_sha/autopkt.h>

List of all members.

Public Attributes

pthread_mutex_t mux_
sc_automationPacketPtrhList pool_
s_int32 packetSize_
s_int32 currCapacity_
s_int32 maxCapacity_
sc_blockAllocator al_


Detailed Description

A pool of packets for constant time allocation and release.


Member Data Documentation

Block allocator for growable constant time block allocation/release.

Number of contained packets

Max number of packets to allow via growth.

Mutex for pool thread safety.

Size of packets to pool.

sc_automationPacketPtrhList sc_automationPacketPool::pool_

List of free packets.


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

doxygen