![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ISemaphoreRelease Method |
Releases a permit, increasing the number of available permits by
one.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxabstract Release : unit -> unit
Remarks
Releases a permit, increasing the number of available permits by
one. If any threads in the cluster are trying to acquire a permit,
then one is selected and given the permit that was just released.
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