ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
discovery_thread_state_t Struct Reference

Thread-safe result sharing between discovery threads. More...

Data Fields

mutex_t lock
 Mutex for thread-safe access.
 
cond_t signal
 Condition variable for signaling.
 
discovery_result_t * result
 Shared discovery result.
 
bool mdns_done
 Whether mDNS discovery completed.
 
bool acds_done
 Whether ACDS discovery completed.
 
bool found
 Whether a session was found.
 

Detailed Description

Thread-safe result sharing between discovery threads.

Definition at line 36 of file discovery.c.

Field Documentation

◆ acds_done

bool discovery_thread_state_t::acds_done

Whether ACDS discovery completed.

Definition at line 41 of file discovery.c.

Referenced by discover_session_parallel().

◆ found

bool discovery_thread_state_t::found

Whether a session was found.

Definition at line 42 of file discovery.c.

Referenced by discover_session_parallel().

◆ lock

mutex_t discovery_thread_state_t::lock

Mutex for thread-safe access.

Definition at line 37 of file discovery.c.

Referenced by discover_session_parallel().

◆ mdns_done

bool discovery_thread_state_t::mdns_done

Whether mDNS discovery completed.

Definition at line 40 of file discovery.c.

Referenced by discover_session_parallel().

◆ result

discovery_result_t* discovery_thread_state_t::result

Shared discovery result.

Definition at line 39 of file discovery.c.

Referenced by discover_session_parallel().

◆ signal

cond_t discovery_thread_state_t::signal

Condition variable for signaling.

Definition at line 38 of file discovery.c.

Referenced by discover_session_parallel().


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