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

Synchronous bridge action object. More...

Collaboration diagram for bridge_sync:
Collaboration graph
[legend]

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 101 of file bridge_channel.c.

Field Documentation

◆ id

unsigned int id

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

Definition at line 103 of file bridge_channel.c.

Referenced by bridge_frame_free(), bridge_sync_cleanup(), bridge_sync_init(), and Model::load().

◆ list

struct { ... } list

Pointer to next entry in the list

Referenced by bridge_frame_free(), and bridge_sync_cleanup().

◆ next

struct bridge_sync* next

Definition at line 107 of file bridge_channel.c.

◆ sem

struct ast_sem sem

Semaphore used for synchronization

Definition at line 105 of file bridge_channel.c.

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


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