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

Semaphore::Release(int) method

Releases multiple locks on semaphore.

int System::Threading::Semaphore::Release(int releaseCount)
ParameterTypeDescription
releaseCountintNumber of locks to release.

ReturnValue

The count of locks just before Release() was called.

See Also