Пример #1
0
 public AsyncLock()
 {
     m_semaphore = new AsyncSemaphore(1);
     m_releaser  = Task.FromResult(new Releaser(this));
 }
Пример #2
0
 public AsyncLock()
 {
     m_semaphore = new AsyncSemaphore(1);
     m_releaser = Task.FromResult(new Releaser(this));
 }