Sunday, January 9, 2011

what is difference between manual reset event and auto reset event.


the difference between the manual reset event and auto reset event are as following.
The difference between them is if 10 threads are waiting for a ManualReset event then all of them will start executing unless some thread programmatically (manually) resets it.

In case of autoreset in the same scenario only 1 thread will start executing & the event will be automatically reset so other threads will have to wait.

No comments:

Post a Comment