GATEverse
← GATE CSE 1997

Q75

MCQMarks unknown

An operating system handles requests to resources as follows. A process (which asks for some resources, uses them for some time and then exits the system) is assigned a unique timestamp are when it starts. The timestamps are monotonically increasing with time. Let us denote the timestamp of a process PP by TS(P)TS(P). When a process PP requests for a resource the OSOS does the following: When a process releases a resource, the process with the smallest timestamp (if any) amongst those waiting for the resource is awarded the resource. Can a deadlock over arise? If yes, show how. If not prove it. Can a process P ever starve? If yes, show how. If not prove it.

Sign in to save attempts.

Loading…