The Gateway to Computer Science Excellence
0 votes
13 views

A system has four processes and five allocatable resources. The current allocation and maximum needs are as follows:

What is the smallest value of x for which this is a safe state?

in Operating System by Veteran (54.9k points) | 13 views

1 Answer

0 votes
Start with x = 0  and make Need table

it will not satisfy any process in first step

then set x=1

it will satisfy process D need but in second step it will not able satisfy any process need

set x=2

This value will satisfy need with sequence  of Process D, C, B, A

Answer should be x=2
ago by (361 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,558 answers
195,717 comments
101,586 users