最終更新:2018-05-07 (月) 15:26:56 (2179d)
C♯/スレッド/同期
public class TestThreading { private System.Object lockThis = new System.Object(); public void Process() { lock (lockThis) { // Access thread-sensitive resources. } } }
クリティカルセクション
System.Threading.Monitor
lock
待機ハンドル?
- System.Threading.Mutex
- System.Threading.Semaphore?