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

Data used by async result callback. More...

Collaboration diagram for async_resolution_data:
Collaboration graph
[legend]

Data Fields

int complete
 
ast_cond_t cond
 
ast_mutex_t lock
 

Detailed Description

Data used by async result callback.

This is the typical combination of boolean, lock, and condition used to synchronize the activities of two threads. In this case, the testing thread waits on the condition, and the async callback signals the condition when the asynchronous callback is complete.

Definition at line 957 of file test_dns.c.

Field Documentation

◆ complete

int complete

Definition at line 958 of file test_dns.c.

Referenced by async_callback(), and async_data_alloc().

◆ cond

ast_cond_t cond

Definition at line 960 of file test_dns.c.

Referenced by async_callback(), async_data_alloc(), and async_data_destructor().

◆ lock

Definition at line 959 of file test_dns.c.

Referenced by async_callback(), async_data_alloc(), and async_data_destructor().


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