struct Waiter
Defined at line 48 of file ../../zircon/system/ulib/uart/include/lib/uart/sync.h
The |Waiter| consists of any environment specific object, that provides a mechanism for
waiting for an event to happen.
* |Waiter| must implement |template
<typename
Guard, T> Wait(Guard
&
, T
&
&
enable_tx_interrupt)|.
While the library only requires |Wait| to be implemented, users should provide a wake mechanism
in blocking implementations, such that observers stuck waiting can resume their work.
|Wait| is guaranteed to be called while |guard| holds the underlying capability.
Public Methods
template <typename Guard, typename T>
void Wait (Guard & guard, T && enable_tx_interrupt)
Defined at line 50 of file ../../zircon/system/ulib/uart/include/lib/uart/sync.h