22 void release(
int releasedWithWhatSignal);
32 std::unique_ptr<Implementation>
m_impl;
Definition shutdown_barrier.hpp:12
std::unique_ptr< Implementation > m_impl
Definition shutdown_barrier.hpp:32
ShutdownBarrier(ShutdownBarrier const &)=delete
ShutdownBarrier & operator=(ShutdownBarrier &&)
int wait()
Waits until release is called and returns the signal.
Definition shutdown_barrier.cpp:44
void release(int releasedWithWhatSignal)
Releases the barrier and stops blocking.
Definition shutdown_barrier.cpp:34
ShutdownBarrier() noexcept
Definition shutdown_barrier.cpp:26
ShutdownBarrier & operator=(ShutdownBarrier const &)=delete
static void installSignalHandlers()
Definition shutdown_barrier.cpp:54
ShutdownBarrier(ShutdownBarrier &&)
Definition authorization.hpp:10
ShutdownBarrier shutdownBarrier
Definition shutdown_barrier.cpp:11
Definition shutdown_barrier.cpp:19