Asterisk - The Open Source Telephony Project
21.4.1
|
Data used by async result callback. More...
Data Fields | |
int | complete |
ast_cond_t | cond |
ast_mutex_t | lock |
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.