Structure which represents a single thread handling multiple 2 channel bridges. More...

Data Fields | |
| struct ast_channel * | chans [MULTIPLEXED_MAX_CHANNELS] |
| unsigned int | count |
| int | pipe [2] |
| unsigned int | service_count |
| pthread_t | thread |
| unsigned int | waiting:1 |
Structure which represents a single thread handling multiple 2 channel bridges.
Definition at line 57 of file bridge_multiplexed.c.
| struct ast_channel* chans[MULTIPLEXED_MAX_CHANNELS] |
Channels in this thread
Definition at line 63 of file bridge_multiplexed.c.
Referenced by multiplexed_add_or_remove(), and multiplexed_thread_function().
| unsigned int count |
Number of channels in this thread
Definition at line 65 of file bridge_multiplexed.c.
Referenced by find_multiplexed_thread(), multiplexed_bridge_create(), and multiplexed_bridge_destroy().
| int pipe[2] |
Pipe used to wake up the multiplexed thread
Definition at line 61 of file bridge_multiplexed.c.
Referenced by destroy_multiplexed_thread(), multiplexed_bridge_create(), multiplexed_nudge(), and multiplexed_thread_function().
| unsigned int service_count |
Number of channels actually being serviced by this thread
Definition at line 69 of file bridge_multiplexed.c.
Referenced by multiplexed_add_or_remove(), and multiplexed_thread_function().
| pthread_t thread |
Thread itself
Definition at line 59 of file bridge_multiplexed.c.
Referenced by multiplexed_add_or_remove(), multiplexed_bridge_create(), multiplexed_nudge(), and multiplexed_thread_function().
| unsigned int waiting |
Bit used to indicate that the thread is waiting on channels
Definition at line 67 of file bridge_multiplexed.c.
Referenced by multiplexed_nudge(), and multiplexed_thread_function().