#include <sync.h>
|
static uint64_t | getID () noexcept |
|
Definition at line 153 of file sync.h.
◆ Synchronizer() [1/2]
zth::Synchronizer::Synchronizer |
( |
cow_string const & |
name = "Synchronizer" | ) |
|
|
inlineexplicit |
◆ Synchronizer() [2/2]
zth::Synchronizer::Synchronizer |
( |
cow_string && |
name | ) |
|
|
inlineexplicit |
◆ ~Synchronizer()
virtual zth::Synchronizer::~Synchronizer |
( |
| ) |
|
|
inlineoverridevirtual |
◆ block() [1/3]
void zth::Synchronizer::block |
( |
| ) |
|
|
inlineprotected |
◆ block() [2/3]
Block, with timeout.
- Returns
true
if unblocked by request, false
when unblocked by timeout.
Definition at line 299 of file sync.h.
◆ block() [3/3]
Block, with timeout.
- Returns
true
if unblocked by request, false
when unblocked by timeout.
Definition at line 286 of file sync.h.
◆ unblock()
bool zth::Synchronizer::unblock |
( |
Fiber & |
f | ) |
|
|
inlineprotectednoexcept |
Unblock the specific fiber.
- Returns
true
if unblocked, false
when not queued by this Synchronizer.
Definition at line 194 of file sync.h.
◆ unblockAll()
bool zth::Synchronizer::unblockAll |
( |
| ) |
|
|
inlineprotectednoexcept |
◆ unblockFirst()
bool zth::Synchronizer::unblockFirst |
( |
| ) |
|
|
inlineprotectednoexcept |
◆ AlarmClock
The documentation for this class was generated from the following file: