RTS API Documentation  1.10.11
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 216 of file switch_core.h.

Field Documentation

◆ input_callback

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

◆ mutex

switch_mutex_t* switch_core_thread_session::mutex

mutex

Definition at line 220 of file switch_core.h.

◆ objs

void* switch_core_thread_session::objs[SWITCH_MAX_CORE_THREAD_SESSION_OBJS]

array of void pointers to pass mutiple data objects

Definition at line 222 of file switch_core.h.

Referenced by switch_core_launch_thread(), and switch_loadable_module_exec().

◆ pool

switch_memory_pool_t* switch_core_thread_session::pool

Definition at line 225 of file switch_core.h.

Referenced by switch_core_launch_thread(), and switch_loadable_module_exec().

◆ running

int switch_core_thread_session::running

status of the thread

Definition at line 218 of file switch_core.h.


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