Mon Jun 27 16:51:25 2011

Asterisk developer's documentation


sched Struct Reference


Data Fields

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

Detailed Description

Definition at line 53 of file sched.c.


Field Documentation

ssize_t __heap_index

Definition at line 61 of file sched.c.

ast_sched_cb callback

Callback

Definition at line 60 of file sched.c.

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

const void* data

Data

Definition at line 59 of file sched.c.

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

int id

ID number of event

Definition at line 55 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_del(), ast_sched_dump(), ast_sched_find_data(), ast_sched_runq(), ast_sched_when(), sched_cmp(), sched_hash(), and schedule().

struct { ... } list

Referenced by sched_alloc(), sched_context_destroy(), and sched_release().

struct sched* next

Definition at line 54 of file sched.c.

int resched

When to reschedule

Definition at line 57 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 58 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 56 of file sched.c.

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


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:25 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7