#include <latch.h>
Classes | |
class | WaitPromise |
Public Member Functions | |
Latch ()=default | |
Latch (const Latch &)=delete | |
Latch (Latch &&other) noexcept | |
Latch & | operator= (const Latch &)=delete |
Latch & | operator= (Latch &&other) noexcept |
void | Set (T value) |
WaitPromise | Wait () |
Private Attributes | |
bool | has_had_waiters_ = false |
bool | has_value_ = false |
GPR_NO_UNIQUE_ADDRESS T | value_ |
IntraActivityWaiter | waiter_ |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |