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