Asterisk - The Open Source Telephony Project GIT-master-a358458
Data Fields
ast_threadpool_listener Struct Reference

listener for a threadpool More...

Collaboration diagram for ast_threadpool_listener:
Collaboration graph
[legend]

Data Fields

const struct ast_threadpool_listener_callbackscallbacks
 
void * user_data
 

Detailed Description

listener for a threadpool

The listener is notified of changes in a threadpool. It can react by doing things like increasing the number of threads in the pool

Definition at line 110 of file threadpool.c.

Field Documentation

◆ callbacks

const struct ast_threadpool_listener_callbacks* callbacks

Callbacks called by the threadpool

Definition at line 112 of file threadpool.c.

Referenced by queued_emptied(), queued_task_pushed(), threadpool_send_state_changed(), threadpool_tps_emptied(), and threadpool_tps_shutdown().

◆ user_data

void* user_data

User data for the listener

Definition at line 114 of file threadpool.c.

Referenced by ast_threadpool_listener_alloc().


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