wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Synchronization

profile
Himani Vaghasiya
Jul 12, 2023
0 Likes
0 Discussions
41 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 to Encrypt and Decrypt Using GNU PGP

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Cache Memory

Blog banner

Digital Forensics Challenges and Tools

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Google classroom

Blog banner

Network Forensics Tools and Techniques

Blog banner

38_Exploring The Honeynet Project

Blog banner

Memory Management

Blog banner

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

Blog banner

Install Ubuntu in Vmware

Blog banner

The Role of Cyber Forensics in Criminology

Blog banner

I/O Management and Disk Scheduling

Blog banner

Modern Operating System

Blog banner

Mail merge

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

All you need to know about Website Traffic

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Virtual memory

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Sage business cloud accounting

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Clarizen

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Memory Management

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Swiggi

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Compromising Mobile Platforms

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

Deadlock and starvation

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

Measuring IT Risk

Blog banner

Virtual memory in windows

Blog banner

Know your Processors!

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

File system implementation

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner