Example #1
0
 public AsyncLock()
 {
     semaphore = new AsyncSemaphore(1);
     releaser  = Task.FromResult(new Releaser(this));
 }
Example #2
0
 public AsyncLock()
 {
     semaphore = new AsyncSemaphore(1);
     releaser = Task.FromResult(new Releaser(this));
 }