MSQ1 mark
With respect to deadlocks in an operating system, which of the following statements is/are FALSE?
One or more correct
GATE CSE previous year questions · Operating Systems
One or more correct
Numerical answer
One or more correct
One or more correct
Answer key coming soon
function OwnResource(Resource R)
Acquire lock L // a global lock
if R is available then
Acquire R
Release lock L
else
if R is owned by another process P then
Terminate P, after releasing all resources owned by P
Acquire R
Restart P
Release lock L
end if
end if
end function
Which of the following choice(s) about the above scheme is/are correct?One or more correct
Answer key coming soon
Single correct
Numerical answer
Single correct
Single correct
Answer key coming soon
Single correct
Answer key coming soon
Single correct
Single correct
Single correct
Numerical answer
Single correct
Answer key coming soon