Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Semaphore.Release(Int64) Method

Release N permits.

release(n)
is equivalent in effect to:
 for (int i = 0; i < n; ++i) release(); 
But may be more efficient in some semaphore implementations.

[Visual Basic]
Public Overridable Overloads Sub Release( _
   ByVal n As Long _
)
[C#]
public virtual void Release(
   long n
);

Exceptions

Exception Type Condition
ArgumentOutOfRangeException if n is negative.

See Also

Semaphore Class | Spring.Threading Namespace | Semaphore.Release Overload List