Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



In the design protocol of the critical section problem, each process must ask permission to enter the critical section in ______ code; it then executes in the critical section; once it finishes executing in the critical section it enters the ____ code. The process then enters the ____ code.






Solution

In critical section problem, the general structure of a process is:

Entry Section
Critical Section
Exit Section
Remainder Section

Entry section:

A process asks permission to enter the critical section.

Critical section:

The process executes the shared resource code.

Exit section:

The process releases permission or lock.

Remainder section:

The process executes the remaining code.

So, the correct order is:

entry section, exit section, remainder section



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...