recategorized by
5,174 views
24 votes
24 votes

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.
recategorized by

1 Answer

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

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.

Correct Answer : D.
edited by
Answer:

Related questions

1 votes
1 votes
1 answer
4
makhdoom ghaya asked Nov 9, 2016
750 views
The simplex method is so named because It is simple.It is based on the theory of algebraic complexes.The simple pendulum works on this method.No one thought of a better n...