Wed Jan 8 2020 09:50:24

Asterisk developer's documentation


sched_context Struct Reference

Data Fields

unsigned int eventcnt
 
unsigned int highwater
 
ast_mutex_t lock
 
struct ast_heapsched_heap
 
struct {
   struct sched *   first
 
   struct sched *   last
 
schedc
 
unsigned int schedccnt
 
unsigned int schedcnt
 
struct ast_hashtabschedq_ht
 

Detailed Description

Definition at line 68 of file sched.c.

Field Documentation

unsigned int eventcnt

Number of events processed

Definition at line 70 of file sched.c.

Referenced by ast_sched_add_variable(), ast_sched_dump(), and sched_context_create().

struct sched* first

Definition at line 77 of file sched.c.

unsigned int highwater

highest count so far

Definition at line 72 of file sched.c.

Referenced by ast_sched_dump(), ast_sched_report(), and schedule().

struct sched* last

Definition at line 77 of file sched.c.

struct { ... } schedc

Cache of unused schedule structures and how many

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

unsigned int schedccnt

Definition at line 78 of file sched.c.

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

unsigned int schedcnt

Number of outstanding schedule events

Definition at line 71 of file sched.c.

Referenced by ast_sched_del(), ast_sched_dump(), ast_sched_report(), ast_sched_runq(), and schedule().

struct ast_hashtab* schedq_ht

hash table for fast searching

Definition at line 73 of file sched.c.

Referenced by ast_sched_del(), ast_sched_find_data(), ast_sched_runq(), ast_sched_when(), sched_context_create(), sched_context_destroy(), and schedule().


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