GATE - 1996 | OS | A critical section is a program segment

GATE - 1996 | OS | A critical section is a program segment
Posted on 02-03-2022

GATE - 1996 [Operating System]

Questions:

A critical section is a program segment

A

which should run in a certain specified amount of time

B

which avoids deadlocks

C

where shared resources are accessed

D

which must be enclosed by a pair of semaphore operations, P and V

Solution:

Option (C) is Correct.

In CS, share resources are accessed.

Thank You