Home > DeveloperSection > Interviews > What is synchronization?

Posted on    November-20-2014 11:19 PM

 1 Answer(s)
  1127  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    November-21-2014 12:19 AM

The mechanism needed to block one thread access to the data. If the data is being accessed by another thread.

Synchronization can be accessed by using system.monitor class

A monitor class methods are enter, exit, pulse for this lock statement is also used

Suppose if we need to synchronize some data at that time we need to place that data in this block




Whatever the data has been placed into the lock block that data has been blocked

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

Follow MindStick