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

Deadlock

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

A Short History of GIS

Blog banner

DIGITAL TECHNOLOGY

Blog banner

Google classroom

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Open Source Project By Google

Blog banner

Introduction to GIS

Blog banner

Hacking of web server and application

Blog banner

Building a Better You: Fitness Tips and Inspiration.

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

TRELLO

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

LiquidPlanner

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Operating Systems

Blog banner

File and File System Structure

Blog banner

RAID - LEVELS OF RAID

Blog banner

HubSpot

Blog banner

Service Transition Process in ITSM

Blog banner

E-mail security

Blog banner

objectives and functions of operating system

Blog banner

Harsh Rathod

Blog banner

Why we fail after giving 100% ?

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

E-Governance

Blog banner

Memory management

Blog banner

Why You Should Not Use Free VPNs

Blog banner

12 Principles of Animation

Blog banner

Social Media Sentiment Analysis

Blog banner

Linux Threads:

Blog banner

File Organization and Access

Blog banner

Number Guessing game --lisp

Blog banner

Women Empowerment

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Multicore and Multithreading

Blog banner

Fitness

Blog banner

What is OS Fingerprinting?

Blog banner

Deadlock

Blog banner

Importance of Website

Blog banner