Renci.SshNet.Common.SemaphoreLight
Light implementation of SemaphoreSlim.
namespace Renci.SshNet.Common
{
public class SemaphoreLight : IDisposable
{
public int CurrentCount { get; }
public WaitHandle AvailableWaitHandle { get; }
public SemaphoreLight(int initialCount);
public int Release();
public int Release(int releaseCount);
public void Wait();
public bool Wait(int millisecondsTimeout);
public bool Wait(TimeSpan timeout);
public void Dispose();
protected void Dispose(bool disposing);
}
}