------------------------------------------------------------------------------------------------------- Semaphore -------------------------------------------------------------------------------------------------------
| 133 | // Semaphore |
| 134 | //------------------------------------------------------------------------------------------------------- |
| 135 | SC::Semaphore::Semaphore(int initialCount) : count(initialCount) {} |
| 136 | |
| 137 | void SC::Semaphore::acquire() |
| 138 | { |