|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|

Data Fields | ||
| struct sched * | currently_executing | |
| unsigned int | eventcnt | |
| pthread_t | executing_thread_id | |
| unsigned int | highwater | |
| struct { | ||
| struct sched_id * first | ||
| struct sched_id * last | ||
| } | id_queue | |
| int | id_queue_size | |
| ast_mutex_t | lock | |
| struct ast_heap * | sched_heap | |
| struct sched_thread * | sched_thread | |
| struct { | ||
| struct sched * first | ||
| struct sched * last | ||
| } | schedc | |
| unsigned int | schedccnt | |
| unsigned int | tie_breaker | |
| struct sched* currently_executing |
The scheduled task that is currently executing
Definition at line 120 of file sched.c.
Referenced by ast_sched_del_nonrunning(), and ast_sched_runq().
| unsigned int eventcnt |
Number of events processed
Definition at line 113 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_context_create(), and ast_sched_dump().
| pthread_t executing_thread_id |
Valid while currently_executing is not NULL
Definition at line 122 of file sched.c.
Referenced by ast_sched_del_nonrunning(), and ast_sched_runq().
| unsigned int highwater |
highest count so far
Definition at line 114 of file sched.c.
Referenced by ast_sched_dump(), ast_sched_report(), and schedule().
| struct { ... } id_queue |
Queue of scheduler task IDs to assign
Referenced by add_ids(), ast_sched_context_create(), ast_sched_context_destroy(), sched_release(), and set_sched_id().
| int id_queue_size |
| ast_mutex_t lock |
Definition at line 112 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_clean_by_callback(), ast_sched_context_create(), ast_sched_context_destroy(), ast_sched_del_nonrunning(), ast_sched_dump(), ast_sched_find_data(), ast_sched_report(), ast_sched_runq(), ast_sched_wait(), ast_sched_when(), sched_run(), and sched_thread_destroy().
| struct ast_heap* sched_heap |
Definition at line 117 of file sched.c.
Referenced by ast_sched_clean_by_callback(), ast_sched_context_create(), ast_sched_context_destroy(), ast_sched_del_nonrunning(), ast_sched_dump(), ast_sched_report(), ast_sched_runq(), ast_sched_wait(), sched_find(), and schedule().
| struct sched_thread* sched_thread |
Definition at line 118 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_context_destroy(), ast_sched_del_nonrunning(), ast_sched_start_thread(), sched_run(), and sched_thread_destroy().
| struct { ... } schedc |
Cache of unused schedule structures and how many
Referenced by ast_sched_context_destroy(), sched_alloc(), and sched_release().
| unsigned int schedccnt |
Definition at line 126 of file sched.c.
Referenced by ast_sched_dump(), sched_alloc(), and sched_release().
| unsigned int tie_breaker |
Next tie breaker in case events expire at the same time.
Definition at line 116 of file sched.c.
Referenced by schedule().