destroy added
This commit is contained in:
@@ -33,7 +33,7 @@ class Semaphore {
|
||||
*/
|
||||
explicit Semaphore(unsigned c = 0) : counter(c) {}
|
||||
unsigned counter;
|
||||
|
||||
bool used;
|
||||
/*! \brief Wait for access to the critical area.
|
||||
*
|
||||
* Enter/decrement/wait operation: If the counter is greater than 0, then
|
||||
|
||||
Reference in New Issue
Block a user