19 #ifndef CORE_TESTING_CROSS_PROCESS_SYNC_H_
20 #define CORE_TESTING_CROSS_PROCESS_SYNC_H_
47 struct Timeout :
public std::runtime_error
49 Timeout() : std::runtime_error(
"Timeout while waiting for event to happen.")
83 void try_signal_ready_for(const std::chrono::milliseconds& duration);
91 std::uint32_t wait_for_signal_ready_for(const std::chrono::milliseconds& duration);
95 std::uint32_t counter;
99 #endif // CORE_TESTING_CROSS_PROCESS_SYNC_H_
#define CORE_POSIX_DLL_PUBLIC
A cross-process synchronization primitive that supports simple wait-condition-like scenarios...
Thrown if any of the *_for functions times out.