What are the differences between various threading synchronization options in C#?

Posted by user38834 on Stack Overflow See other posts from Stack Overflow or by user38834
Published on 2008-11-19T06:26:56Z Indexed on 2010/05/18 12:11 UTC
Read the original article Hit count: 115

Can someone explain the difference between:

  • lock (someobject) {}
  • Using Mutex
  • Using Semaphore
  • Using Monitor
  • Using Other .Net synchronization classes

I just can't figure it out. It seems to me the first two are the same?

© Stack Overflow or respective owner

Related posts about c#

Related posts about multithreading