WaitHandle 类,封装等待对共享资源的独占访问的操作系统特定的对象。
System.Threading.EventWaitHandle
System.Threading.Mutex
System.Threading.Semaphore
以上3个类均继承与WaitHandle
WaitHandle.WaitOne 方法 (Int32)
Blocks the current thread until the current WaitHandle receives a signal, using a 32-bit signed integer to specify the time interval.
System.本文转自cnn23711151CTO博客,原文链接: ,如需转载请自行联系原作者Threading.ManualResetEvent和System.Threading.AutoResetEvent均继承于System.Thre本文转自cnn23711151CTO博客,原文链接: ,如需转载请自行联系原作者ading.EventWaitHandle
本文转自cnn23711151CTO博客,原文链接: http://blog.51cto.com/cnn237111/515183,如需转载请自行联系原作者