Thursday, July 24, 2014

Multi -threading Querirs

Difference between ManaulResetEvent and AutoResetEvent 


  • Difference between a tollbooth and a door. The ManualResetEvent is the door, which needs to be closed (reset)
  • AutoResetEvent executes WaitOne() and Reset() as a single atomic operation..
  • An AutoResetEvent will only allow one single waiting thread to continue. A ManualResetEvent on the other hand will keep allowing threads, several at the same time even, to continue until you tell it to stop (Reset it).
Exception Handling across several threads
http://www.codeproject.com/Articles/152765/Task-Parallel-Library-of-n

http://www.yoda.arachsys.com/csharp/threads/threadpool.shtml

No comments:

Post a Comment