The Gateway to Computer Science Excellence
0 votes

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 (60.5k points) | 35 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
by (473 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,832 questions
57,685 answers
107,174 users