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

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Different types of scam Fraud

Blog banner

The Laws of Karma

Blog banner

Travelling blog

Blog banner

Virtual Memory

Blog banner

Characteristics of Etherum

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Deadlock

Blog banner

Short note on expert system

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Fashion design

Blog banner

Service stratergy principles

Blog banner

File System

Blog banner

5 Stages of Digital Marketing

Blog banner

Penetration Testing

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

Zero-Day Attack

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Optimization of operating system design

Blog banner

TAILS OS

Blog banner

Why is ITSM important in IT organization?

Blog banner

Operating system

Blog banner

Types of Malware in Cyber Security

Blog banner

Understanding Regression Analysis

Blog banner

child Labour

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

therapist blog

Blog banner

The launch of UniMap by HERE

Blog banner

Socket Programming in Java

Blog banner

Secure Hypertext transfer protocol

Blog banner

INTERNET

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Place to visit in pune

Blog banner

GraphQL

Blog banner

Wrike

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Basic Security For SOAP Services

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

M commerce

Blog banner