Fri Aug 17 00:17:52 2018

Asterisk developer's documentation


tps_task Struct Reference

tps_task structure is queued to a taskprocessor More...

Data Fields

void * datap
 The data pointer for the task execute() function.
int(* execute )(void *datap)
 The execute() task callback function pointer.
struct {
   struct tps_task *   next
list
 AST_LIST_ENTRY overhead.

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 49 of file taskprocessor.c.


Field Documentation

void* datap

The data pointer for the task execute() function.

Definition at line 53 of file taskprocessor.c.

Referenced by tps_processing_function(), and tps_task_alloc().

int(* execute)(void *datap)

The execute() task callback function pointer.

Referenced by tps_processing_function(), and tps_task_alloc().

struct { ... } list

AST_LIST_ENTRY overhead.

struct tps_task* next [read]

Definition at line 55 of file taskprocessor.c.


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

Generated on 17 Aug 2018 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1