| ISemaphoreRelease Method (Int32) |
Releases the given number of permits, increasing the number of
available permits by that amount.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax void Release(
int permits
)
Sub Release (
permits As Integer
)
void Release(
int permits
)
abstract Release :
permits : int -> unit
Parameters
- permits
- Type: SystemInt32
the number of permits to release
Exceptions Exception | Condition |
---|
ArgumentException |
if
permits
is negative
|
Remarks
Releases the given number of permits, increasing the number of
available permits by that amount.
There is no requirement that a thread that releases a permit must
have acquired that permit by calling one of the
acquire
methods.
Correct usage of a semaphore is established by programming convention
in the application.
See Also