eckit::Semaphore class

Derived classes

class SharedInt

Constructors, destructors, conversion operators

Semaphore(const PathName& name, int count = 1)
~Semaphore()

Public functions

void lock(void)
void unlock(void)
auto tryLock(void) -> bool
auto test(unsigned short n = 0) -> bool
auto get(int n = 0) const -> int
void set(int, int n = 0)
void raise(unsigned short n = 0)
void raise(unsigned short n, short v)
void lower(unsigned short n = 0)
void lower(unsigned short n, short v)
auto getpid() const -> pid_t