What is the "critical region" in an Operating System (OS)? - ProProfs Discuss
Advertisement

What is the "critical region" in an Operating System (OS)?

What is the "critical region" in an Operating System (OS)?

Change Image    Delete

Asked by Himasri, Last updated: Nov 10, 2024

+ Answer
Request
Question menu
Vote up Vote down

4 Answers

M. Krasinski

M. Krasinski

M. Krasinski
M. Krasinski, Content Writer, Columbus

Answered Oct 24, 2018

There are times when people would be pressing to open one program several times when the program can only be opened one at a time. This is the critical period because the OS does not allow this to occur. Not all of the regions in the operating system are like this but it will help if you would know which ones. This will prevent you from pressing far too many times.

There are instances when doing this would cause the program to crash for some time and it would need to be rebooted so that it can work again. Take note that there are also some critical regions that are locked to those who are unauthorized to view the content.

upvote downvote
Reply 1

Otis Jame

Otis Jame

Otis Jame
Otis Jame

Replied on Nov 28, 2023

When you mention "pressing to melon playground open one program several times," it sounds like users might be attempting to launch a program multiple times concurrently, and the operating system is preventing this by controlling access to critical regions.

Anika Nicole

Anika Nicole

Content Writer, Teacher

Anika Nicole
Anika Nicole, Wordsmith, PG In Journalism, New York

Answered Sep 17, 2018

The "critical region" or "critical section" in an Operating System (OS) is a piece of code which only one process executes at a time. It cannot be executed by more than one processes at the same time.

Simply, we can say that the critical section is a part of the program where shared resources are accessed are protected.

upvote downvote
Reply 

Daniel Collingwood

Daniel Collingwood

defense enthusiast, geopolitically and geostrategically sound

Daniel Collingwood
Daniel Collingwood, SSEE, high school, btech (cse), New York

Answered Jan 03, 2018

It is a piece of code which only one process executes at a time.

When there is a concurrent access by many processes to a single resource, then it may lead to unexpected behavior by the operating system. Hence there are some regions in the operatingsystem which can be accessed by only one process at a single time, those type of regions are called "critical regions".

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Apr 14, 2017

Is a piece of code which only one process executes at a time
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.