---
title: "What is synchronization?"  
description: "What is synchronization?"  
author: "Sumit Kesarwani"  
published: 2014-11-20  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/2260/what-is-synchronization  
category: ".net"  
tags: [".net"]  
reading_time: 1 minute  

---

# What is synchronization?

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

Lock

{

}

Whatever the data has been placed into the lock block that data has been blocked

## Answers

### Answer by Sumit Kesarwani

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

Lock

{

}

Whatever the data has been placed into the lock block that data has been blocked


---

Original Source: https://www.mindstick.com/interview/2260/what-is-synchronization

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
