19 #ifndef _AST_SERIALIZER_H 20 #define _AST_SERIALIZER_H int ast_serializer_pool_destroy(struct ast_serializer_pool *pool)
Destroy the serializer pool.
static pj_pool_t * pool
Global memory pool for configuration and timers.
static struct ast_threadpool * threadpool
Thread pool for observers.
int ast_serializer_pool_set_alerts(struct ast_serializer_pool *pool, long high, long low)
Set taskprocessor alert levels for the serializers in the pool.
struct ast_serializer_pool * ast_serializer_pool_create(const char *name, unsigned int size, struct ast_threadpool *threadpool, int timeout)
Create a serializer pool.
const char * ast_serializer_pool_name(const struct ast_serializer_pool *pool)
Retrieve the base name of the serializer pool.
A ast_taskprocessor structure is a singleton by name.
An opaque threadpool structure.
struct ast_taskprocessor * ast_serializer_pool_get(struct ast_serializer_pool *pool)
Retrieve a serializer from the pool.