9 #include <dcf/types.hpp>
13 #include <sys/types.h>
24 IPCSem(
bool is_local =
true);
32 const std::string &fname,
73 int create_new_sem(
size_t res_num, key_t key,
74 int mask,
bool is_local)
const;
Definition: ipc_sem.hpp:18
error_t
Definition: types.hpp:11
dcf::error_t create(size_t res_num, int id, const std::string &fname, int mask=0666)
dcf::error_t operator--()
Definition: ipc_sem.hpp:44
int m_mask
Definition: ipc_sem.hpp:64
dcf::error_t release(size_t rn=1)
bool m_is_local
Definition: ipc_sem.hpp:67
key_t m_key
Definition: ipc_sem.hpp:58
int m_sid
Definition: ipc_sem.hpp:55
dcf::error_t allocate(size_t rn=1)
size_t m_res_num
Definition: ipc_sem.hpp:61
IPCSem(bool is_local=true)
dcf::error_t operator++()
Definition: ipc_sem.hpp:41