Recently I came across an MSDN link which says that the ManualResetEventSlim class can be used for better performance when compared to ManualResetEvent class.
"In the .NET Framework 4, you can use the System.Threading.ManualResetEventSlim class for better performance when wait times are expected to be very short".
https://msdn.microsoft.com/en-us/library/5hbefs30%28v=vs.110%29.aspx
Please correct me if my understanding is wrong.
When WaitOne(1000) is called for 1 sec
the windows, apart from blocking the other threads from executing, makes the current thread to sleep for certain time and wakes up when it is notified.
Here the word blocking means that the thread sleeps for certain time until it is notified?
What does this sentence mean - "when wait times are expected to be very short"?
Can somebody suggest any websites to understand the internal process of WaitOne