public AsyncLock()
 {
     _semaphore = new AsyncSemaphore(1);
     _releaser = Task.FromResult(new Releaser(this));
 }
Beispiel #2
0
 public AsyncLock()
 {
     _semaphore = new AsyncSemaphore(1);
     _releaser  = Task.FromResult(new Releaser(this));
 }