wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Synchronization

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

MODERN OPERATING SYSTEM

Blog banner

Memory management

Blog banner

Cache memory

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

The Features of Blockchain

Blog banner

Travelling blog

Blog banner

Microsoft Word

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

geographic information system (GIS)

Blog banner

Mobile Survey

Blog banner

A Brief Review on Cyber Forensics and its Analysis Tool

Blog banner

How I use google in my daily life

Blog banner

My Favorite Sportsperson

Blog banner

Python as a tool for Data science task & project

Blog banner

Have You Explored India Yet?

Blog banner

Deadlock

Blog banner

Virtual Memory

Blog banner

Operating system and overviews

Blog banner

Big O Notation

Blog banner

Importance of internet

Blog banner

Process and Threading

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Virtual memory

Blog banner

Uniprocessor scheduling

Blog banner

Social engineering in cyber security

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

38_Exploring The Honeynet Project

Blog banner

Deadlocks

Blog banner

How to Conquer Depression ?

Blog banner

Virtual Machine

Blog banner

Top 10 Logos and their meanings

Blog banner

Facebook marketing

Blog banner

The Best Photography Spots in and Around Arcadia, Florida

Blog banner

Deadlock and Starvation

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Mesh Topology

Blog banner

Session Vulnerabilities

Blog banner

GOOGLE

Blog banner