Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_sip_sched_task Struct Reference
Collaboration diagram for ast_sip_sched_task:
Collaboration graph
[legend]

Data Fields

int current_scheduler_id
 
enum ast_sip_scheduler_task_flags flags
 
int interval
 
int is_running
 
struct timeval last_end
 
struct timeval last_start
 
char name [0]
 
struct timeval next_periodic
 
int run_count
 
struct ast_taskprocessorserializer
 
ast_sip_task task
 
void * task_data
 
struct timeval when_queued
 

Detailed Description

Definition at line 41 of file pjsip_scheduler.c.

Field Documentation

◆ current_scheduler_id

int current_scheduler_id

ast_sched scheudler id

Definition at line 59 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_cancel(), ast_sip_schedule_task(), and push_to_serializer().

◆ flags

the task reschedule, cleanup and policy flags

Definition at line 65 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_cancel(), ast_sip_sched_task_get_times2(), ast_sip_schedule_task(), cli_show_tasks(), push_to_serializer(), and schtd_dtor().

◆ interval

int interval

◆ is_running

int is_running

◆ last_end

struct timeval last_end

the last time the task was ended

Definition at line 53 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_get_times2().

◆ last_start

struct timeval last_start

the last time the task was started

Definition at line 51 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_get_times2(), ast_sip_schedule_task(), and cli_show_tasks().

◆ name

char name[0]

◆ next_periodic

struct timeval next_periodic

When the periodic task is next expected to run

Definition at line 55 of file pjsip_scheduler.c.

Referenced by ast_sip_schedule_task().

◆ run_count

int run_count

times run

Definition at line 63 of file pjsip_scheduler.c.

Referenced by cli_show_tasks().

◆ serializer

The serializer to be used (if any) (Holds a ref)

Definition at line 43 of file pjsip_scheduler.c.

Referenced by ast_sip_schedule_task(), push_to_serializer(), and schtd_dtor().

◆ task

task function

Definition at line 47 of file pjsip_scheduler.c.

Referenced by ast_sip_schedule_task().

◆ task_data

void* task_data

task data

Definition at line 45 of file pjsip_scheduler.c.

Referenced by ast_sip_schedule_task(), and schtd_dtor().

◆ when_queued

struct timeval when_queued

the time the task was originally scheduled/queued

Definition at line 49 of file pjsip_scheduler.c.

Referenced by ast_sip_sched_task_get_times2(), ast_sip_schedule_task(), and cli_show_tasks().


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