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:

[legend]

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 105 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 113 of file switch_core.h.

switch_mutex_t* switch_core_thread_session::mutex

mutex

Definition at line 109 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 111 of file switch_core.h.

Referenced by switch_loadable_module_exec().

switch_memory_pool_t* switch_core_thread_session::pool

Definition at line 114 of file switch_core.h.

Referenced by switch_loadable_module_exec().

int switch_core_thread_session::running

status of the thread

Definition at line 107 of file switch_core.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:28 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7