FreeSWITCH API Documentation  1.7.0
Data Fields
switch_core_thread_session Struct Reference

A generic object to pass as a thread's session object to allow mutiple arguements and a pool. More...

#include <switch_core.h>

+ Collaboration diagram for switch_core_thread_session:

Data Fields

int running
 
switch_mutex_tmutex
 
void * objs [SWITCH_MAX_CORE_THREAD_SESSION_OBJS]
 
switch_input_callback_function_t input_callback
 
switch_memory_pool_tpool
 

Detailed Description

A generic object to pass as a thread's session object to allow mutiple arguements and a pool.

Definition at line 214 of file switch_core.h.

Field Documentation

switch_input_callback_function_t switch_core_thread_session::input_callback

a pointer to a memory pool if the thread has it's own pool

Definition at line 222 of file switch_core.h.

switch_mutex_t* switch_core_thread_session::mutex

mutex

Definition at line 218 of file switch_core.h.

void* switch_core_thread_session::objs[SWITCH_MAX_CORE_THREAD_SESSION_OBJS]

array of void pointers to pass mutiple data objects

Definition at line 220 of file switch_core.h.

Referenced by switch_core_launch_thread(), and switch_loadable_module_exec().

switch_memory_pool_t* switch_core_thread_session::pool

Definition at line 223 of file switch_core.h.

Referenced by switch_core_launch_thread(), and switch_loadable_module_exec().

int switch_core_thread_session::running

status of the thread

Definition at line 216 of file switch_core.h.


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