3 #ifndef __unnamed_sem_hpp
4 #define __unnamed_sem_hpp
12 #include <semaphore.h>
29 bool ready()
const {
return m_is_ready; }
error_t
Definition: types.hpp:11
sem_t m_sem
Definition: unnamed_sem.hpp:43
Definition: unnamed_sem.hpp:17
virtual dcf::error_t release(int rn=1)
bool ready() const
Definition: unnamed_sem.hpp:29
virtual dcf::error_t available(int &rn) const
virtual dcf::error_t allocate(int rn=1)