InterviewSolution
Saved Bookmarks
| 1. |
What is AutoResetEvent and how is it different from ManualResetEvent? |
|
Answer» AutoResetEvent is used to unlock a single thread when multiple threads are in a waiting blocked state, whereas ManualResetEvent is used to unlock multiple threads at once during similar instances. AutoResetEvent also calls the Reset() method by itself to unblock the thread under consideration, whereas while using ManualResetEvent, the Reset() method has to be called manually after the use of set() method. |
|