Release()

Semaphore::Release() method

Releases lock on semaphore.

int System::Threading::Semaphore::Release()

Return Value

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

Semaphore::Release(int) method

Releases multiple locks on semaphore.

int System::Threading::Semaphore::Release(int releaseCount)

Arguments

ParameterTypeDescription
releaseCountintNumber of locks to release.

Return Value

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

See Also