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

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

Music

Blog banner

12 Principles of Animation

Blog banner

Social Media.

Blog banner

Memory management and virtual memory

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Threads

Blog banner

Concurrency and memory

Blog banner

Mental Health

Blog banner

Memory Management

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Answer

Blog banner

Loneliness

Blog banner

OS Assignment 3 Deadlock

Blog banner

Deadlock in operating system

Blog banner

How to Conquer Depression ?

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

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

Blog banner

Sessions In OS.

Blog banner

Wrike

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

ONLINE NEWSROOMS

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Deadlock

Blog banner

OS assignment 3

Blog banner

Semaphores

Blog banner

Privacy in Social Media and Online Services

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

OS Assignment 3

Blog banner

EMAIL INVESTIGATION

Blog banner

Child labour

Blog banner

Scala - a programming tool

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Memory Management

Blog banner

Swiggi

Blog banner

Direct Memory Access

Blog banner

The Memory Hierarchy

Blog banner

Friendship

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Europe Through My Lens

Blog banner