9 #ifndef mrpt_synch_semaphore_H 10 #define mrpt_synch_semaphore_H 14 #include <condition_variable> 36 unsigned long m_count{ 0 };
49 bool waitForSignal(
unsigned int timeout_ms = 0 );
52 void release(
unsigned int increaseCount = 1);
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CSemaphore(const CSemaphore &o)
std::condition_variable m_condition
A semaphore for inter-thread synchronization.