32 static int create(key_t semkey);
Handles creation, locking and unlocking of System V semaphores.
static void destroy(int semId)
Destroy the given semaphore.
~SemaphoreLocker()
Unlock.
static int create(key_t semkey)
Create a new semaphore and initialize it.
SemaphoreLocker(int semId)
Lock the given semaphore.
void unlock()
Unlock the semaphore.
void lock()
Lock the semaphore.
int m_id
semaphore id, see semget(2).
static bool isLocked(int semId)
Return true if the given semaphore is locked.
Abstract base class for different kinds of events.