|
Asterisk - The Open Source Telephony Project GIT-master-9647a4f
|
An opaque taskpool structure. More...

Data Fields | |
| struct taskpool_taskprocessors | dynamic_taskprocessors |
| char | name [0] |
| struct ast_taskpool_options | options |
| taskpool_selector | selector |
| int | shrink_sched_id |
| int | shutting_down |
| struct taskpool_taskprocessors | static_taskprocessors |
An opaque taskpool structure.
A taskpool is a collection of taskprocessors that execute tasks, each from their own queue. A selector determines which taskprocessor to queue to at push time.
Definition at line 62 of file taskpool.c.
| struct taskpool_taskprocessors dynamic_taskprocessors |
The dynamic taskprocessors, those which will be created as needed
Definition at line 66 of file taskpool.c.
Referenced by ast_taskpool_create(), ast_taskpool_push(), ast_taskpool_queue_size(), ast_taskpool_shutdown(), ast_taskpool_taskprocessors_count(), taskpool_dynamic_pool_grow(), and taskpool_dynamic_pool_shrink().
| char name[0] |
The name of the taskpool
Definition at line 76 of file taskpool.c.
Referenced by ast_taskpool_create(), PathSegment::get_child(), SwaggerType::load(), and taskpool_taskprocessor_alloc().
| struct ast_taskpool_options options |
Taskpool-specific options
Definition at line 70 of file taskpool.c.
Referenced by ast_taskpool_create(), ast_taskpool_push(), taskpool_dynamic_pool_grow(), taskpool_dynamic_pool_shrink(), taskpool_least_full_selector(), taskpool_sequential_selector(), taskpool_taskprocessor_start(), and taskpool_taskprocessor_stop().
| taskpool_selector selector |
The taskprocessor selector to use
Definition at line 74 of file taskpool.c.
Referenced by ast_taskpool_create(), and ast_taskpool_push().
| int shrink_sched_id |
Dynamic pool shrinking scheduled item
Definition at line 72 of file taskpool.c.
Referenced by ast_taskpool_create(), and ast_taskpool_shutdown().
| int shutting_down |
True if the taskpool is in the process of shutting down
Definition at line 68 of file taskpool.c.
Referenced by ast_taskpool_push(), ast_taskpool_shutdown(), and taskpool_dynamic_pool_shrink().
| struct taskpool_taskprocessors static_taskprocessors |
The static taskprocessors, those which will always exist
Definition at line 64 of file taskpool.c.
Referenced by ast_taskpool_create(), ast_taskpool_push(), ast_taskpool_queue_size(), ast_taskpool_shutdown(), ast_taskpool_taskprocessors_count(), and taskpool_dynamic_pool_grow().