ast_taskprocessor Struct Reference

A ast_taskprocessor structure is a singleton by name. More...

Collaboration diagram for ast_taskprocessor:

Collaboration graph
[legend]

Data Fields

unsigned int executing:1
struct ast_taskprocessor_listenerlistener
void * local_data
const char * name
 Friendly name of the taskprocessor.
struct tps_taskprocessor_statsstats
 Taskprocessor statistics.
pthread_t thread
struct ast_taskprocessor::tps_queue tps_queue
 Taskprocessor queue.
long tps_queue_size
 Taskprocessor current queue size.

Data Structures

struct  tps_queue
 Taskprocessor queue. More...

Detailed Description

A ast_taskprocessor structure is a singleton by name.

Definition at line 71 of file taskprocessor.c.


Field Documentation

unsigned int executing

Indicates if the taskprocessor is currently executing a task

Definition at line 85 of file taskprocessor.c.

Referenced by ast_taskprocessor_execute(), and taskprocessor_push().

void* local_data

const char* name

Friendly name of the taskprocessor.

Definition at line 73 of file taskprocessor.c.

Referenced by ast_taskprocessor_name(), cli_tps_report(), tps_cmp_cb(), tps_hash_cb(), tps_taskprocessor_destroy(), and tps_taskprocessor_tab_complete().

Taskprocessor statistics.

Definition at line 75 of file taskprocessor.c.

Referenced by ast_taskprocessor_execute(), cli_tps_report(), and tps_taskprocessor_destroy().

pthread_t thread

Current thread executing the tasks

Definition at line 83 of file taskprocessor.c.

Referenced by ast_taskprocessor_execute(), and ast_taskprocessor_is_task().

Taskprocessor current queue size.

Definition at line 78 of file taskprocessor.c.

Referenced by cli_tps_report(), taskprocessor_push(), tps_taskprocessor_depth(), and tps_taskprocessor_pop().


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

Generated on Thu Apr 16 06:35:42 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6