ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
discovery_thread_state_t Struct Reference

Context for ACDS discovery thread. 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

Context for ACDS discovery thread.

Thread-safe result sharing between discovery threads

Context for mDNS discovery thread

Internal state for collecting discovered services

Thread-safe result sharing between discovery threads

Definition at line 45 of file discovery.c.

Field Documentation

◆ acds_done

bool discovery_thread_state_t::acds_done

Whether ACDS discovery completed.

Definition at line 50 of file discovery.c.

Referenced by discover_session_parallel().

◆ found

bool discovery_thread_state_t::found

Whether a session was found.

Definition at line 51 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 46 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 49 of file discovery.c.

Referenced by discover_session_parallel().

◆ result

discovery_result_t* discovery_thread_state_t::result

Shared discovery result.

Definition at line 48 of file discovery.c.

Referenced by discover_session_parallel().

◆ signal

cond_t discovery_thread_state_t::signal

Condition variable for signaling.

Definition at line 47 of file discovery.c.

Referenced by discover_session_parallel().


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