Asterisk - The Open Source Telephony Project
18.5.0
|
A ast_taskprocessor structure is a singleton by name. More...
Data Structures | |
struct | tps_queue |
Taskprocessor queue. More... | |
Data Fields | |
unsigned int | executing:1 |
unsigned int | high_water_alert:1 |
unsigned int | high_water_warned:1 |
struct ast_taskprocessor_listener * | listener |
void * | local_data |
char | name [0] |
Friendly name of the taskprocessor. Subsystem is appended after the name's NULL terminator. More... | |
struct tps_taskprocessor_stats | stats |
Taskprocessor statistics. More... | |
char * | subsystem |
Anything before the first '/' in the name (if there is one) More... | |
unsigned int | suspended:1 |
pthread_t | thread |
struct ast_taskprocessor::tps_queue | tps_queue |
long | tps_queue_high |
Taskprocessor high water alert trigger level. More... | |
long | tps_queue_low |
Taskprocessor low water clear alert level. More... | |
long | tps_queue_size |
Taskprocessor current queue size. More... | |
A ast_taskprocessor structure is a singleton by name.
Definition at line 69 of file taskprocessor.c.
unsigned int executing |
Indicates if the taskprocessor is currently executing a task
Definition at line 85 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), and taskprocessor_push().
unsigned int high_water_alert |
Indicates that a high water alert is active on this taskprocessor
Definition at line 89 of file taskprocessor.c.
Referenced by ast_taskprocessor_alert_set_levels(), taskprocessor_push(), tps_taskprocessor_dtor(), and tps_taskprocessor_pop().
unsigned int high_water_warned |
Indicates that a high water warning has been issued on this task processor
Definition at line 87 of file taskprocessor.c.
Referenced by taskprocessor_push().
struct ast_taskprocessor_listener* listener |
Definition at line 81 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), __start_taskprocessor(), ast_taskprocessor_execute(), ast_taskprocessor_unreference(), taskprocessor_push(), and tps_taskprocessor_dtor().
void* local_data |
Definition at line 72 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), ast_taskprocessor_set_local(), and local_task_exe().
char name[0] |
Friendly name of the taskprocessor. Subsystem is appended after the name's NULL terminator.
Definition at line 97 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), __start_taskprocessor(), ast_taskprocessor_name(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), Property::load(), taskprocessor_push(), tps_alert_add(), tps_cmp_cb(), tps_hash_cb(), tps_report_taskprocessor_list(), tps_report_taskprocessor_list_helper(), tps_sort_cb(), and tps_taskprocessor_tab_complete().
struct tps_taskprocessor_stats stats |
Taskprocessor statistics.
Definition at line 71 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), tps_report_taskprocessor_list_helper(), and tps_reset_stats().
char* subsystem |
Anything before the first '/' in the name (if there is one)
Definition at line 93 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), and tps_alert_add().
unsigned int suspended |
Indicates if the taskprocessor is currently suspended
Definition at line 91 of file taskprocessor.c.
Referenced by ast_taskprocessor_is_suspended(), ast_taskprocessor_suspend(), and ast_taskprocessor_unsuspend().
pthread_t thread |
Current thread executing the tasks
Definition at line 83 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_taskprocessor_execute(), and ast_taskprocessor_is_task().
Referenced by taskprocessor_push(), tps_taskprocessor_dtor(), and tps_taskprocessor_pop().
long tps_queue_high |
Taskprocessor high water alert trigger level.
Definition at line 78 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_serializer_pool_set_alerts(), ast_taskprocessor_alert_set_levels(), taskprocessor_push(), and tps_report_taskprocessor_list_helper().
long tps_queue_low |
Taskprocessor low water clear alert level.
Definition at line 76 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_serializer_pool_set_alerts(), ast_taskprocessor_alert_set_levels(), tps_report_taskprocessor_list_helper(), and tps_taskprocessor_pop().
long tps_queue_size |
Taskprocessor current queue size.
Definition at line 74 of file taskprocessor.c.
Referenced by ast_taskprocessor_alert_set_levels(), ast_taskprocessor_size(), taskprocessor_push(), tps_report_taskprocessor_list_helper(), tps_taskprocessor_dtor(), and tps_taskprocessor_pop().