Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
sched_id Struct Reference

Scheduler ID holder. More...

Data Fields

int id
 
struct {
   struct sched_id *   next
 
list
 

Detailed Description

Scheduler ID holder.

These form a queue on a scheduler context. When a new scheduled item is created, a sched_id is popped off the queue and its id is assigned to the new scheduled item. When the scheduled task is complete, the sched_id on that task is then pushed to the back of the queue to be re-used on some future scheduled item.

Definition at line 70 of file sched.c.

Field Documentation

int id

Immutable ID number that is copied onto the scheduled task

Definition at line 72 of file sched.c.

Referenced by add_ids(), ast_sched_add_variable(), and ast_sched_del_nonrunning().


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