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

IP ADDRESS

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Uniprocessor and Types

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

Service transistion under difficult conditions

Blog banner

I Personally

Blog banner

Evolution of Operating system

Blog banner

OS ASSIGNMENT

Blog banner

Capacity management in ITSM

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

I/O Management and Disk Scheduling

Blog banner

Process, process creation and process termination

Blog banner

Internet of Things and cyber security

Blog banner

Paging

Blog banner

Process Description

Blog banner

You'll get to know about Pankaj Negi

Blog banner

?How long does wisdom tooth pain last?

Blog banner

How to write a cover letter

Blog banner

Malware

Blog banner

Traditional Unix System

Blog banner

Khau Galli – Vile Parle

Blog banner

Proton mail

Blog banner

Memory heirchy

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

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

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

OS Assignment 3

Blog banner

Ransomware

Blog banner

Logical and physical address

Blog banner

What is Minting & Mining

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Memory Management

Blog banner

HACKING MOBILE PLATFORM

Blog banner

memory cache

Blog banner

Firewall in Computer Network

Blog banner

GraphQL

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner