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