C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::internal::BaseChannel Class Reference
Inheritance diagram for pw::async2::internal::BaseChannel:
pw::async2::internal::Channel< T > pw::async2::ChannelStorage< T, kCapacity > pw::async2::internal::DynamicChannel< T >

Public Member Functions

void lock ()
 
void unlock ()
 
bool is_open ()
 
bool is_open_locked () const
 
bool active_locked () const
 
void RemoveRefAndDestroyIfUnreferenced ()
 
void Close ()
 
void add_send_future (BaseChannelFuture &future)
 
void add_receive_future (BaseChannelFuture &future)
 
void DropReservationAndRemoveRef ()
 
void add_receiver ()
 
void add_sender ()
 
void add_handle ()
 
void add_reservation ()
 
void remove_reservation ()
 
void remove_sender ()
 
void remove_receiver ()
 
void remove_handle ()
 
void add_ref ()
 

Static Public Attributes

static constexpr chrono::SystemClock::duration kWaitForever
 

Protected Member Functions

void WakeOneReceiver ()
 
void WakeOneSender ()
 
uint16_t reservations () const
 

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