curl-fuzzer C++ reference
Loading...
Searching...
No Matches
proto_fuzzer::resolver_cancel_detail::GateState Struct Reference

Shared state for the single opt-in resolver cancellation rendezvous. More...

#include <resolver_cancel_gate.h>

Public Attributes

std::mutex mutex
 Serializes every state transition and condition wait.
std::condition_variable released
 Signals both lookup arrival and scope-owned release.
bool armed = false
 Whether the current scope should hold the first lookup.
bool first_lookup_waiting = false
 Whether the resolver worker has reached the gate.

Detailed Description

Shared state for the single opt-in resolver cancellation rendezvous.

Definition at line 22 of file resolver_cancel_gate.h.


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