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

tps_task structure is queued to a taskprocessor More...

Data Fields

union {
   int(*   execute )(void *datap)
 
   int(*   execute_local )(struct
      ast_taskprocessor_local *local)
 
callback
 The execute() task callback function pointer.
 
void * datap
 The data pointer for the task execute() function.
 
struct {
   struct tps_task *   next
 
list
 AST_LIST_ENTRY overhead.
 
unsigned int wants_local:1
 

Detailed Description

tps_task structure is queued to a taskprocessor

tps_tasks are processed in FIFO order and freed by the taskprocessing thread after the task handler returns. The callback function that is assigned to the execute() function pointer is responsible for releasing datap resources if necessary.

Definition at line 47 of file taskprocessor.c.


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