9 #ifndef FAIR_MQ_TOOLS_SEMAPHORE_H 10 #define FAIR_MQ_TOOLS_SEMAPHORE_H 12 #include <condition_variable> 29 explicit Semaphore(std::size_t initial_count);
32 auto Signal() -> void;
33 auto GetCount()
const -> std::size_t;
37 mutable std::mutex fMutex;
38 std::condition_variable fCv;
51 auto Signal() -> void;
52 auto GetCount()
const -> std::size_t;
55 std::shared_ptr<Semaphore> fSemaphore;
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23