메소드 | 설명 | |
---|---|---|
AsyncSemaphore ( int initialCount ) : System.Collections.Generic |
初始化一个AsyncSemaphore类型的新实例
|
|
Release ( ) : void |
释放
|
|
WaitAsync ( ) : System.Threading.Tasks.Task |
等待同步
|
public AsyncSemaphore ( int initialCount ) : System.Collections.Generic | ||
initialCount | int | |
리턴 | System.Collections.Generic |
public WaitAsync ( ) : System.Threading.Tasks.Task | ||
리턴 | System.Threading.Tasks.Task |