The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+6 votes
286 views

A critical region is

  1. One which is enclosed by a pair of P and V operations on semaphores.
  2. A program segment that has not been proved bug-free.
  3. A program segment that often causes unexpected system crashes.
  4. A program segment where shared resources are accessed.
asked in Operating System by Veteran (43.3k points) | 286 views

1 Answer

+12 votes
Best answer
A critical region is a program segment where shared resources are accessed.. that's why we synchronize in the critical section. That is D.

PS: It is not necessary that we must use semaphore for critical section access (any other mechanism for mutual exclusion can also be used) and neither do sections enclosed by P and V operations are called critical sections.
answered by Loyal (3.7k points)
selected by
Answer:

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

29,961 questions
37,633 answers
96,402 comments
35,286 users