문제

Do I need to call reset to clear multiple set after hitting the WaitOne(); of AutoResetEvent in C#?

도움이 되었습니까?

해결책

AutoResetEvent does not have a counter - just a set/not-set state, so no, you do not have to do anything special after a WaitOne() call returns even if the event was set multiple times.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top