class SimpleLatch
Defined at line 25 of file ../../src/tests/microbenchmarks/simple_latch.h
A class similar to std::latch that works across processes.
std::latch is not guaranteed to work across processes.
Public Methods
void SimpleLatch (size_t expected)
Defined at line 27 of file ../../src/tests/microbenchmarks/simple_latch.h
void CountDown ()
Decrement the counter atomically, in a non-blocking manner.
Defined at line 30 of file ../../src/tests/microbenchmarks/simple_latch.h
void Wait ()
Blocks until the counter reaches 0.
Defined at line 39 of file ../../src/tests/microbenchmarks/simple_latch.h
void SimpleLatch (const SimpleLatch & )
Defined at line 47 of file ../../src/tests/microbenchmarks/simple_latch.h
SimpleLatch & operator= (const SimpleLatch & )
Defined at line 48 of file ../../src/tests/microbenchmarks/simple_latch.h