Threads that call one of the wait methods of a synchronization event must wait until another thread signals the event by calling the Set method. There are two synchronization event classes. Threads set the status of ManualResetEvent instances to signaled using the Set method. Threads set the status of ManualResetEvent instances to nonsignaled using the Reset method or when control returns to a waiting WaitOne call. Instances of the AutoResetEvent class can also be set to signaled using Set, but they automatically return to nonsignaled as soon as a waiting thread is notified that the event became signaled
Abhishek Jaiswal is 29 years old technology enthusiastic with great passion .
He loves to explore new technology ( doesn’t matter what it is related to).
He is working with Genpact as a Senior Software Engineer.
Basically worked with Dot Net technology i.e. Sharepoint 2007/10/13, ASP.Net, WCF, C#
He believes Knowledge is powers, which increases by sharing.
So happy blogging and keep sharing is the mantra…
Permanent link to this article: http://zappmania.in/2012/11/20/manualresetevent-and-autoresetevent.htm