Class implements a semaphore
VSemaphore(int available) constructor which can set the count to a value Parameters:available - value to set the count to virtual ~VSemaphore() destructor void Wait() if count == 0, wait on the semaphore. If count > 0, decrement count and continue void Post() increment count, waking a waiting thread if there are any void Post(int how_many) increment count by how_many, waking a waiting thread if there are any
virtual ~VSemaphore() destructor void Wait() if count == 0, wait on the semaphore. If count > 0, decrement count and continue void Post() increment count, waking a waiting thread if there are any void Post(int how_many) increment count by how_many, waking a waiting thread if there are any
void Wait() if count == 0, wait on the semaphore. If count > 0, decrement count and continue void Post() increment count, waking a waiting thread if there are any void Post(int how_many) increment count by how_many, waking a waiting thread if there are any
void Post() increment count, waking a waiting thread if there are any void Post(int how_many) increment count by how_many, waking a waiting thread if there are any
void Post(int how_many) increment count by how_many, waking a waiting thread if there are any
alphabetic index hierarchy of classes
generated by doc++