#include <si_sha/sreqpool.h>
Public Attributes | |
pthread_mutex_t | mux_ |
sc_scriptRequestPtrhList | pool_ |
s_int32 | currCapacity_ |
s_int32 | maxCapacity_ |
sc_blockAllocator | al_ |
Used to allocate script request objects in constant time.
Block allocator for growable, constant time block allocation/release
Number of requests in pool.
Max requests allowed in pool.
pthread_mutex_t sc_scriptRequestPool::mux_ |
Mutex for thread safety.
sc_scriptRequestPtrhList sc_scriptRequestPool::pool_ |
Free list of requests.