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.184 -- Release Build+e88d612bae8af26e31c9a143425022134d0db940
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