Asterisk - The Open Source Telephony Project
21.4.1
|
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 |
unsigned int | rescheduled:1 |
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_nonrunning(), 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_nonrunning(), and ast_sched_runq().
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_nonrunning(), and ast_sched_runq().
int resched |
When to reschedule
Definition at line 89 of file sched.c.
Referenced by ast_sched_add_variable(), and ast_sched_runq().
unsigned int rescheduled |
Indication that a running task was rescheduled.
Definition at line 102 of file sched.c.
Referenced by ast_sched_del_nonrunning(), 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(), and ast_sched_del_nonrunning().
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 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(), and ast_sched_when().