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.
Clear multiple set after hitting the WaitOne() of AutoResetEvent
-
21-06-2023 - |
Frage
Do I need to call reset
to clear multiple set after hitting the WaitOne();
of AutoResetEvent
in C#?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow