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

Pink sauce pasta

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

All you need to know about Cassandra

Blog banner

Mendeley (management software)

Blog banner

Processes : Process description and control

Blog banner

File system implementation

Blog banner

Interrupts in operating system.

Blog banner

Deadlocks

Blog banner

Types of OS

Blog banner

Smartsheet

Blog banner

Memory input output management

Blog banner

Service Design Model

Blog banner

Financial Stress and Mental Health

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

AI and Cyber Security

Blog banner

security requirements for safe e-payment

Blog banner

Principal of concurrency

Blog banner

OPERATING SYSTEM

Blog banner

Travelling blog

Blog banner

EdTech (Education Technology)

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Security Breaches in Stock market trading

Blog banner

File management

Blog banner

Deadlock

Blog banner

What is OS Fingerprinting?

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Deadlock and Starvation

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

Broken Authentication Attacks

Blog banner

Health and fitness

Blog banner

Odoo

Blog banner

Yoga in INDIA and ABROAD

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Drawing tips for a beginner

Blog banner

Lifestyle of a photographer

Blog banner

Memory management

Blog banner

Developments in Modern Operating Systems

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

The khan mehtab transforming the modular switches company

Blog banner