Asterisk - The Open Source Telephony Project
18.5.0
|
Data Fields | |
ssize_t | __heap_index |
ast_sched_cb | callback |
ast_cond_t | cond |
const void * | data |
unsigned int | deleted:1 |
struct { | |
struct sched * next | |
} | list |
int | resched |
struct sched_id * | sched_id |
unsigned int | tie_breaker |
Tie breaker in case the when is the same for multiple entries. More... | |
int | variable |
struct timeval | when |
ast_sched_cb callback |
Callback
Definition at line 92 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_clean_by_callback(), ast_sched_del(), ast_sched_report(), and ast_sched_runq().
ast_cond_t cond |
Used to synchronize between thread running a task and thread attempting to delete a task
Definition at line 98 of file sched.c.
Referenced by ast_sched_del(), ast_sched_runq(), sched_alloc(), and sched_free().
const void* data |
Data
Definition at line 91 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_clean_by_callback(), ast_sched_find_data(), and ast_sched_runq().
unsigned int deleted |
Indication that a running task was deleted.
Definition at line 100 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_del(), and ast_sched_runq().
struct { ... } list |
int resched |
When to reschedule
Definition at line 89 of file sched.c.
Referenced by ast_sched_add_variable(), and ast_sched_runq().
The ID that has been popped off the scheduler context's queue
Definition at line 79 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_del(), sched_find(), sched_free(), sched_release(), and set_sched_id().
unsigned int tie_breaker |
Tie breaker in case the when is the same for multiple entries.
Definition at line 88 of file sched.c.
Referenced by sched_time_cmp(), and schedule().
int variable |
Use return value from callback to reschedule
Definition at line 90 of file sched.c.
Referenced by ast_sched_add_variable(), and ast_sched_runq().
struct timeval when |
Absolute time event should take place
Definition at line 80 of file sched.c.
Referenced by ast_sched_add_variable(), ast_sched_runq(), ast_sched_wait(), ast_sched_when(), and sched_time_cmp().