wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Synchronization

profile
Himani Vaghasiya
Jul 12, 2023
0 Likes
0 Discussions
40 Reads

Defination: Processes Synchronization or Synchronization is the way by which processes that share the same memory space are managed in an operating system. It helps maintain the consistency of data by using variables or hardware so that only one process can make changes to the shared memory at a time. There are various solutions for the same such as semaphores, mutex locks, synchronization hardware etc.

Example: Let us take a look at why exactly we need Process Synchronization. For example, If a process1 is trying to read the data present in a memory location while another process2 is trying to change the data present at the same location, there is a high chance that the data read by the process1 will be incorrect.

 

 Different elements/sections of a program:

1). Entry Section: The entry Section decides the entry of 

process.

     2). Critical Section: Critical section allows and makes sure that only one process is modifying the shared data.

3). Exit Section: The entry of other processes in the shared data after the execution of one process is handled by the Exit section.

      4). Remainder Section: The remaining part of the code which is not categorized as above is contained in the Remainder section.


Comments ()


Sign in

Read Next

How Harshad Valia International School is nurturing India’s Young Minds?

Blog banner

RAID_142

Blog banner

Atlantis - The Lost Island.........

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Race Conditions

Blog banner

IoT Evolution

Blog banner

Deadlock in Operating System

Blog banner

Major achievement

Blog banner

Business Intelligence v/s Big Data

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

1.1 basic elements

Blog banner

Difference Between Classification And Clustering

Blog banner

Worms, viruses and Bots

Blog banner

Microsoft Windows Overview

Blog banner

Objectives and Functions of Operating System

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Data Analytics in Data Science

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

Types of E-Commerce

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Buffers in Operating Systems

Blog banner

HR Automation : Need of the hour

Blog banner

Network Forensics

Blog banner

Memory Management

Blog banner

Self managing devices

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Data Visualization in Decision-Making

Blog banner

Old age lifestyle

Blog banner

The Memory Hierarchy

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

INTERNET SECURITY

Blog banner

Virtual memory

Blog banner

Asana

Blog banner

A-B-C of Networking: Part-3 (Topology [Bus & Star])

Blog banner

Malware Defense

Blog banner

Firewall

Blog banner

Types of OS

Blog banner

Dekkers Algorithm

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Race Condition in Operating Theatre

Blog banner

Service Operations in ITSM

Blog banner

Deadlock in operating system

Blog banner