|
Asterisk - The Open Source Telephony Project GIT-master-20e40a9
|
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. | |
| struct tps_taskprocessor_stats | stats |
| Taskprocessor statistics. | |
| char * | subsystem |
| Anything before the first '/' in the name (if there is one) | |
| unsigned int | suspended:1 |
| pthread_t | thread |
| struct ast_taskprocessor::tps_queue | tps_queue |
| long | tps_queue_high |
| Taskprocessor high water alert trigger level. | |
| long | tps_queue_low |
| Taskprocessor low water clear alert level. | |
| long | tps_queue_size |
| Taskprocessor current queue size. | |
A ast_taskprocessor structure is a singleton by name.
Definition at line 83 of file taskprocessor.c.
| unsigned int executing |
Indicates if the taskprocessor is currently executing a task
Definition at line 99 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), cli_tps_show_taskprocessor(), and taskprocessor_push().
| unsigned int high_water_alert |
Indicates that a high water alert is active on this taskprocessor
Definition at line 103 of file taskprocessor.c.
Referenced by ast_taskprocessor_alert_set_levels(), cli_tps_show_taskprocessor(), 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 101 of file taskprocessor.c.
Referenced by taskprocessor_push().
| struct ast_taskprocessor_listener* listener |
Definition at line 95 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), __start_taskprocessor(), ast_taskprocessor_execute(), ast_taskprocessor_listener(), ast_taskprocessor_unreference(), taskprocessor_push(), and tps_taskprocessor_dtor().
| void* local_data |
Definition at line 86 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 111 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), __start_taskprocessor(), ast_taskprocessor_name(), cli_tps_show_taskprocessor(), default_tps_processing_function(), PathSegment::get_child(), SwaggerType::load(), taskprocessor_push(), tps_alert_add(), tps_cmp_cb(), tps_hash_cb(), tps_report_taskprocessor_list(), tps_report_taskprocessor_list_helper(), tps_shutdown(), tps_sort_cb(), and tps_taskprocessor_tab_complete().
| struct tps_taskprocessor_stats stats |
Taskprocessor statistics.
Definition at line 85 of file taskprocessor.c.
Referenced by ast_taskprocessor_execute(), cli_tps_show_taskprocessor(), 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 107 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), cli_tps_show_taskprocessor(), subsystem_match(), and tps_alert_add().
| unsigned int suspended |
Indicates if the taskprocessor is currently suspended
Definition at line 105 of file taskprocessor.c.
Referenced by ast_taskprocessor_is_suspended(), ast_taskprocessor_suspend(), ast_taskprocessor_unsuspend(), and cli_tps_show_taskprocessor().
| pthread_t thread |
Current thread executing the tasks
Definition at line 97 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_taskprocessor_execute(), and ast_taskprocessor_is_task().
Referenced by cli_tps_show_taskprocessor(), taskprocessor_push(), tps_taskprocessor_dtor(), and tps_taskprocessor_pop().
| long tps_queue_high |
Taskprocessor high water alert trigger level.
Definition at line 92 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_serializer_pool_set_alerts(), ast_taskprocessor_alert_set_levels(), cli_tps_show_taskprocessor(), taskprocessor_push(), and tps_report_taskprocessor_list_helper().
| long tps_queue_low |
Taskprocessor low water clear alert level.
Definition at line 90 of file taskprocessor.c.
Referenced by __allocate_taskprocessor(), ast_serializer_pool_set_alerts(), ast_taskprocessor_alert_set_levels(), cli_tps_show_taskprocessor(), tps_report_taskprocessor_list_helper(), and tps_taskprocessor_pop().
| long tps_queue_size |
Taskprocessor current queue size.
Definition at line 88 of file taskprocessor.c.
Referenced by ast_taskprocessor_alert_set_levels(), ast_taskprocessor_size(), cli_tps_show_taskprocessor(), taskprocessor_push(), tps_report_taskprocessor_list_helper(), tps_shutdown(), tps_taskprocessor_dtor(), and tps_taskprocessor_pop().