Sat Apr 26 2014 22:03:26

Asterisk developer's documentation


sched Struct Reference
Collaboration diagram for sched:

Data Fields

ssize_t __heap_index
ast_sched_cb callback
const void * data
int id
struct {
   struct sched *   next
list
int resched
int variable
struct timeval when

Detailed Description

Definition at line 68 of file sched.c.


Field Documentation

ssize_t __heap_index

Definition at line 76 of file sched.c.

Referenced by ast_sched_context_create().

Callback

Definition at line 75 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_report(), and ast_sched_runq().

const void* data

Data

Definition at line 74 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_find_data(), ast_sched_runq(), and sched_run().

struct { ... } list
struct sched* next

Definition at line 69 of file sched.c.

int resched

When to reschedule

Definition at line 72 of file sched.c.

Referenced by ast_sched_add_variable(), and ast_sched_runq().

int variable

Use return value from callback to reschedule

Definition at line 73 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 71 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_runq(), ast_sched_wait(), ast_sched_when(), and sched_time_cmp().


The documentation for this struct was generated from the following file: