wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Synchronization

profile
Himani Vaghasiya
Jul 12, 2023
0 Likes
0 Discussions
50 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

Direct memory access

Blog banner

Virus

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Health and fitness

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

How to Choose Your Daily Signature Scent Based on Your Personal Vibe?

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

How Paint Protection Film Protects Your Car From Scratches and Stone Chips

Blog banner

Uniprocessor scheduling

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Kernel in Operating System

Blog banner

GIS Topography

Blog banner

"Games and the future"

Blog banner

Power of words

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Trends that began during the pandemic

Blog banner

Mumbai Metro 3

Blog banner

Types of Malware in Cyber Security

Blog banner

What is Data, Information and Knowledge?

Blog banner

Define Instagram.

Blog banner

Install Ubuntu in Vmware

Blog banner

Mumbaicha Dabbawalla

Blog banner

Os Virtual Memory

Blog banner

Cyber Forensics on IOT Devices

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

Buffer overflow

Blog banner

Install Ubuntu Easily

Blog banner

The Right way of cooking

Blog banner

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

File management -disha parekh

Blog banner

LIFEHACKER

Blog banner

Dal Bafla Recipe

Blog banner

THE ACTORS LIFE

Blog banner

Process, process creation and process termination

Blog banner

How Often Should Your Child Really See the Dentist? (A Parent’s Guide)

Blog banner

Evolution of operating systems

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Python as a tool for data analysis

Blog banner

Gis in agriculture and farming

Blog banner