ManualResetEvent or AutoResetEvent

  • Thread starter Thread starter Markus Freitag
  • Start date Start date
M

Markus Freitag

Guest
Hello,

When should I use ManualResetEvent and when should I use AutoResetEvent?

I mean ManualResetEvent is more correct. Can someone explain it well and in short?


If I call AutoResetEvent and check if the event is set with WaitOne, I have the impression that it is not set again.

With ManualResetEvent I get my use case better done. I just want to understand it.

Thanks for tips in advance.

Greetings Markus

Continue reading...
 

Similar threads

M
Replies
0
Views
96
Mike Feng
M
M
Replies
0
Views
73
Markus Freitag
M
R
Replies
0
Views
57
RobbKirk
R
R
Replies
0
Views
125
RobbKirk
R
Back
Top