| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
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 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_listener(), 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(), 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 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(), subsystem_match(), 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().