bskSemaphore

class BSKSemaphore
#include <bskSemaphore.h>

Basilisk semaphore class

Public Functions

inline BSKSemaphore(int count_in = 0)

method description

inline void release()

release the lock

inline void acquire()

aquire the lock

Private Members

std::mutex mutex
std::condition_variable cv
size_t count