wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Synchronization

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

What is Amazon?

Blog banner

Security requirements for Safe E-Payments

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

The Role of Summer Camps in Early Childhood Development

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

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

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

URL vs Domain

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Principal of concurrency

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Email Privacy

Blog banner

Article on different management system

Blog banner

Blockchain Security Technique

Blog banner

Why Khari and toast is the ideal Tea Break snack?

Blog banner

The Best Photography Spots in and Around Arcadia, Florida

Blog banner

Spyware

Blog banner

ADIDAS

Blog banner

WORKFRONT SOFTWARE

Blog banner

Life of an army person

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Steps to create an Ubuntu EC2 Instance with GUI in AWS

Blog banner

USES OF WHATSAPP

Blog banner

Race condition

Blog banner

Have You Explored India Yet?

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Smitten Kitchen Keepers

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Music

Blog banner

Memory Management - operating system

Blog banner

Operation system

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Inventory management software system

Blog banner

Service Strategy principles

Blog banner

Business Engineering

Blog banner

File Organization and Access

Blog banner

Capacity management in ITSM

Blog banner