NamedSemaphoreRelease(Int32) Method

Exits the semaphore a specified number of times and returns the previous count.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.181 -- Release Build+97279656b5a55675063a4190481e67c4f9809501
public int Release(
	int releaseCount
)

Parameters

releaseCount  Int32
The number of times to exit the semaphore.

Return Value

Int32
The count on the semaphore before the method was called.

See Also