Home > DeveloperSection > Interviews > Describe synchronization in respect to multithreading?

Posted on    November-10-2010 12:00 AM

 Java Java 
Ratings:
 1 Answer(s)
  1452  View(s)
Rate this:

Anurag Sharma
Anurag Sharma

Total Post:19

Points:95
Posted on    November-10-2010 1:00 AM

With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchonization, it is possible for one thread to modify a shared variable while another thread is in the process of using or updating same shared variable. This usually leads to significant errors. 

Don't want to miss updates? Please click the below button!

Follow MindStick