Hi,
I am a beginner to c#. I have confusion on "Synchronization" operation in C#. If synchronize applied that means locking applied , only one thread allowed at a time right. But "synchronization" means, doing multiple tasks at a time in English. According to that meaning, c# should allow multiple thread at a time when synchronization concept is applied right? Please clarify me.
thanks a lot

VulpesPosted Jan 29, 2014, 11:55 AM
In the context of multi-threading, locking is often used to achieve synchronization because this ensures that only one thread can enter a critical piece of code at a time.
However, there are other techniques which can be used for synchronization purposes as well including signalling and the Interlocked class.
Satyapriya NayakPosted Jan 29, 2014, 10:55 AM
http://msdn.microsoft.com/en-us/library/ms173179.aspx
http://www.c-sharpcorner.com/uploadfile/vendettamit/synchronizing-threads-in-a-multithreaded-application-in-net-C-Sharp/
http://www.codeproject.com/Articles/26130/Threads-and-Thread-Synchronization-in-C