持续更新中......
1. bool result = ObjectOfAutoResetEvent.WaitOne()
AutoResetEvent对象如果处于有信号状态,则调用该对象的WaitOne方法后会自动重置为无信号状态,但返回的result则为调用方法时AutoResetEvent对象的状态 true.
转载于:https://www.cnblogs.com/tinsuki/archive/2008/01/09/1032272.html
持续更新中......
1. bool result = ObjectOfAutoResetEvent.WaitOne()
AutoResetEvent对象如果处于有信号状态,则调用该对象的WaitOne方法后会自动重置为无信号状态,但返回的result则为调用方法时AutoResetEvent对象的状态 true.
转载于:https://www.cnblogs.com/tinsuki/archive/2008/01/09/1032272.html