Wed Aug 18 22:34:37 2010

Asterisk developer's documentation


ast_taskprocessor Struct Reference

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


Data Fields

struct {
   ast_taskprocessor *   next
list
 Taskprocessor singleton list entry.
char * name
 Friendly name of the taskprocessor.
ast_cond_t poll_cond
 Thread poll condition.
pthread_t poll_thread
 Taskprocessor thread.
unsigned char poll_thread_run
 Taskprocesor thread run flag.
tps_taskprocessor_statsstats
 Taskprocessor statistics.
ast_mutex_t taskprocessor_lock
 Taskprocessor lock.
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 63 of file taskprocessor.c.


Field Documentation

struct { ... } list

Taskprocessor singleton list entry.

char* name

Friendly name of the taskprocessor.

Definition at line 65 of file taskprocessor.c.

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

struct ast_taskprocessor* next

Definition at line 81 of file taskprocessor.c.

ast_cond_t poll_cond

Thread poll condition.

Definition at line 67 of file taskprocessor.c.

Referenced by ast_taskprocessor_push(), tps_processing_function(), and tps_taskprocessor_destroy().

pthread_t poll_thread

Taskprocessor thread.

Definition at line 69 of file taskprocessor.c.

Referenced by tps_taskprocessor_destroy().

unsigned char poll_thread_run

Taskprocesor thread run flag.

Definition at line 73 of file taskprocessor.c.

Referenced by tps_processing_function(), and tps_taskprocessor_destroy().

struct tps_taskprocessor_stats* stats

Taskprocessor statistics.

Definition at line 75 of file taskprocessor.c.

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

ast_mutex_t taskprocessor_lock

Taskprocessor lock.

Definition at line 71 of file taskprocessor.c.

Referenced by ast_taskprocessor_push(), tps_processing_function(), tps_taskprocessor_destroy(), and tps_taskprocessor_pop().

struct ast_taskprocessor::tps_queue tps_queue

Taskprocessor queue.

Referenced by ast_taskprocessor_push(), and tps_taskprocessor_pop().

long tps_queue_size

Taskprocessor current queue size.

Definition at line 77 of file taskprocessor.c.

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


The documentation for this struct was generated from the following file:
Generated on Wed Aug 18 22:34:37 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7