Java.Util.Concurrent.Semaphore.Release Method
Releases a permit, returning it to the semaphore.

Syntax

[Android.Runtime.Register("release", "()V", "GetReleaseHandler")]
public virtual void Release ()

Remarks

Releases a permit, returning it to the semaphore.

Releases a permit, increasing the number of available permits by one. If any threads are trying to acquire a permit, then one is selected and given the permit that was just released. That thread is (re)enabled for thread scheduling purposes.

There is no requirement that a thread that releases a permit must have acquired that permit by calling Semaphore.Acquire. Correct usage of a semaphore is established by programming convention in the application.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1