54#include <condition_variable>
69 template <BlockingBehavior BB>
87 mutable std::mutex itsMutex;
88 std::condition_variable itsCondVar;
93#include <jevois/Types/details/SemaphoreImpl.H>
size_t count() const
Get the current count.
void increment(size_t n)
Release n resources to the semaphore.
Semaphore(size_t n=0)
Create a semaphore with n initial resources.
void decrement(size_t n)
Remove n resources from the semaphore, blocking until they are available or throwing if they are not.
Main namespace for all JeVois classes and functions.