AutoResetEvent

  • Thread starter Thread starter RobbKirk
  • Start date Start date
R

RobbKirk

Guest
I still can't understand how AutoResetEvent works.. though use it for years.

When it comes to Set() then should somewhere already be a part of code awaiting for WaitOne()?.

In other words.. if Set() has been successfully before WaitOne(), will it be Reset automatically before WaitOne() and I will miss Set?

or in other words - Does WaitOne() makes the reset of the flag or not?.

Thanks you



"I = I + 1" .. Isn't it boolshit?

Continue reading...
 
Back
Top