Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
bridge_sync Struct Reference

Synchronous bridge action object. More...

Data Fields

unsigned int id
 
struct {
   struct bridge_sync *   next
 
list
 
struct ast_sem sem
 

Detailed Description

Synchronous bridge action object.

Synchronous bridge actions require the ability for one thread to wait and for another thread to indicate that the action has completed. This structure facilitates that goal by providing synchronization structures.

Definition at line 102 of file bridge_channel.c.

Field Documentation

unsigned int id

Unique ID of this synchronization object. Corresponds with ID in synchronous frame payload

Definition at line 104 of file bridge_channel.c.

Referenced by bridge_sync_cleanup(), and bridge_sync_init().

struct { ... } list

Pointer to next entry in the list

Referenced by bridge_sync_cleanup().

struct ast_sem sem

Semaphore used for synchronization

Definition at line 106 of file bridge_channel.c.

Referenced by bridge_sync_cleanup(), bridge_sync_signal(), and bridge_sync_wait().


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