Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A process is an instance of a running program, and a program is an executable stored on a persistent storage (e.g., disk). Suppose we want

A process is an instance of a running program, and a program is an executable stored on a persistent storage (e.g., disk). Suppose we want to design an OS so that for any program, there can be only one instance of it running at any given time. If the user attempts to execute the program again while an instance of it is already running, the OS simply tells the user that the program is already running and does nothing. To achieve the above, the OS needs to maintain some additional information. Let's assume such information is maintained inside PCBs. Please explain what information needs to be maintained in PCBs to allow for the above semantics. Only include what is relevant to achieve this goal, and explain why it is relevant.

Step by Step Solution

3.34 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

To ensure that for any program there can be only one instance of it running at any given time and that the OS informs the user when they attempt to ex... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Systems Analysis And Design

Authors: Joseph Valacich, Joey George

8th Edition

0134204921, 978-0134204925

More Books

Students also viewed these Operating System questions

Question

Describe the roots of positive psychology.

Answered: 1 week ago