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

Landslide Hazard

Blog banner

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Hash password! Is it really secured?

Blog banner

Memory Hierarchy

Blog banner

Kernel Memory Allocation In Linux.

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

Zomato (Income Sources)

Blog banner

Memory heirchy

Blog banner

Security in Cloud Computing

Blog banner

LISP - Library Management System

Blog banner

OS- Assignnment 1

Blog banner

Cache memory

Blog banner

RAID_142

Blog banner

Man VS Nature

Blog banner

Importance Of Blockchain

Blog banner

Vulnerability Assessment

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

Multiple processor scheduling

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

Service stratergy principles

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner

Virtual memory

Blog banner

Smartsheet

Blog banner

Uniprocessor scheduling

Blog banner

Guidelines for a low sodium diet.

Blog banner

Steganography and Steganalysis

Blog banner

Session Hijacking

Blog banner

Every body is beautiful

Blog banner

Linux -V Server Virtual Machine

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Deadlocks

Blog banner

Android Flashlight Application

Blog banner

What is thread and multithreading ?

Blog banner

City of Mumbai (Bombay):

Blog banner

AOL Mail

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Junk food vs healthy food

Blog banner

Lifestyle of a photographer

Blog banner

Business Intelligence v/s Big Data

Blog banner

Deadlock

Blog banner