19 class ConditionVariable_impl;
30 friend class ::ConditionVariable_impl;
33 enum class Type { anonymous, named };
42 Semaphore(
const Object *parent, uint32_t initialValue, std::string name =
"", Type type=Type::anonymous);
76 class Semaphore_impl *pimpl_;
Base class for all Framework's classes.
Definition: Object.h:83
namespace of the flair Framework
Definition: Ahrs.h:19
unsigned long long Time
Time definition, in ns.
Definition: Object.h:55
Semaphore(const Object *parent, uint32_t initialValue, std::string name="", Type type=Type::anonymous)
Constructor.
bool TryGetSemaphore() const
TryGetSemaphore.
Base class for all Framework's classes.
bool GetSemaphore(Time timeout=TIME_INFINITE) const
GetSemaphore.
Class defining a semaphore.
Definition: Semaphore.h:29
bool ReleaseSemaphore(void) const
ReleaseSemaphore.