Asterisk - The Open Source Telephony Project
21.4.1
|
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(), and ast_sched_context_destroy().
int id_queue_size |
struct { ... } schedc |
Cache of unused schedule structures and how many
Referenced by ast_sched_context_destroy().
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().