Thu Apr 28 2011 17:16:26

Asterisk developer's documentation


multiplexed_thread Struct Reference

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

Collaboration diagram for multiplexed_thread:

Data Fields

struct ast_channelchans [MULTIPLEXED_MAX_CHANNELS]
unsigned int count
int pipe [2]
unsigned int service_count
pthread_t thread
unsigned int waiting:1

Detailed Description

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

Definition at line 53 of file bridge_multiplexed.c.


Field Documentation

struct ast_channel* chans[MULTIPLEXED_MAX_CHANNELS]

Channels in this thread

Definition at line 59 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 61 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 57 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 65 of file bridge_multiplexed.c.

Referenced by multiplexed_add_or_remove(), and multiplexed_thread_function().

unsigned int waiting

Bit used to indicate that the thread is waiting on channels

Definition at line 63 of file bridge_multiplexed.c.

Referenced by multiplexed_nudge(), and multiplexed_thread_function().


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