![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | 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.9.4
Syntaxvoid 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
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