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

Artical on FreshBooks

Blog banner

Bharat Maps

Blog banner

Life

Blog banner

How to kiss

Blog banner

Stop Racism

Blog banner

Uniprocessor Scheduling

Blog banner

Retiring ISS

Blog banner

CONCURRENCY

Blog banner

Operating system

Blog banner

How to use open SSL for web server - browser communication

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

RAID

Blog banner

URL vs Domain

Blog banner

10 Interesting Facts about Death Note

Blog banner

Modern Operating system

Blog banner

Random Forests

Blog banner

Memory Management

Blog banner

Types of Threads

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

PERT Overview

Blog banner

Answer

Blog banner

Eating Well With Meal Maharaj on Busy Workdays Without Cooking

Blog banner

Different types of scam Fraud

Blog banner

Busted : Common Web Security Myths

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner

Real time scheduling

Blog banner

Electronic data interchange

Blog banner

MEMORY MANAGEMENT

Blog banner

Virtual Memory

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

Virtual Memory

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Texting is actually better than talking in person

Blog banner

Health and fitness

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Ethical Hacking

Blog banner

Security issues

Blog banner

VPN

Blog banner

Modern operating systems (OS)

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Health is Wealth

Blog banner

VIRTUAL MACHINE

Blog banner