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.175 -- Release Build+70cfebd19f80455d07e1cf93607e59f6af0e38f4
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