如果我这样做:
private static System.Threading.AutoResetEvent event_2 = new System.Threading.AutoResetEvent(false);
然后在主线程中我做:
event_2.Set();
它将状态从false更改为true?
如果是这样,它基本上做到了:
AutoResetEventState = !AutoResetEventState
?