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

All you need to know about Cassandra

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Satellite Based Positioning

Blog banner

Article on Fresh Book

Blog banner

CoWIN

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Fashion design

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Virtual Machine

Blog banner

What is Email? Uses of Emails

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Logical and physical address

Blog banner

Interrupts in operating system.

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

A Journey By Train

Blog banner

Different memory allocation strategies

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Charcoal, Lemon, and DIY Kits: Which “Viral” Dental Trends Are Actually Dangerous?

Blog banner

Real time scheduling

Blog banner

Music

Blog banner

Amazon

Blog banner

Esri India launches Policy Maps.

Blog banner

STARVATION

Blog banner

Technical SEO : Total Guide

Blog banner

File management

Blog banner

HTML vs HTML5

Blog banner

Linux

Blog banner

Memory Management

Blog banner

E-learning in today's world

Blog banner

Electronic Funds Transfer

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Traditional Unix System

Blog banner

Cache Memory in Operating Systems

Blog banner

Process State

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Art and Culture of Rajasthan

Blog banner

10 Signs your Computer has Virus

Blog banner

Bulk E-mail software

Blog banner

What is OS and its overview

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

Instagram

Blog banner