System::Threading::Semaphore::Release method
Semaphore::Release() method
Releases lock on semaphore.
int System::Threading::Semaphore::Release()
ReturnValue
The count of locks just before Release() was called.
See Also
- Class Semaphore
- Namespace System::Threading
- Library Aspose.PUB for C++
Semaphore::Release(int) method
Releases multiple locks on semaphore.
int System::Threading::Semaphore::Release(int releaseCount)
Parameter | Type | Description |
---|---|---|
releaseCount | int | Number of locks to release. |
ReturnValue
The count of locks just before Release() was called.
See Also
- Class Semaphore
- Namespace System::Threading
- Library Aspose.PUB for C++