Exemplo n.º 1
0
 internal Releaser(AsyncSemaphore semaphore)
 {
     this.semaphore = semaphore;
 }
Exemplo n.º 2
0
 public AsyncMutex(bool initiallyOwned = false)
 {
     this.semaphore = new AsyncSemaphore(initiallyOwned ? 0 : 1, 1);
 }