《操作系统概念》

作者:【美】西尔伯查茨 等  出版社:高等教育出版社

题目 题型
Consider the traffic deadlock depicted in Figure7.1 a.Show that the four necessary conditions for deadlock indeed hold in this 问答
Consider the deadlock situation that could occur in the dining-philosophers problem when the philosophers obtain the chopsticks 问答
A possible solution for preventing deadlocks is to have a single, higherorder resource that must be requested before any other r 问答
Compare the circular-wait scheme with the deadlock-avoidance schemes (like the banker's algorithm) with respect to the following 问答
In a real computer system, neither the resources available nor the demands of processes for resources are consistent over long p 问答
In a real computer system, neither the resources available nor the demands of processes for resources are consistent over long p 问答
Consider a system consisting of four resources of the same type that are shared by three processes, each of which needs at mos 问答
Consider a system consisting of m resources of the same type, being shared by n processes. Resources can be requested and releas 问答
Consider the dining-philosophers problem where the chopsticks are placed at the center of the table and any two of them could be 问答
Consider the same setting as the previous problem.Assume now that each philosopher requires three chopsticks to eat and that res 问答
We can obtain the banker's algorithm for a single resource type from the general banker's algorithm simply by reducing the dimen 问答
Answer the following questions using the banker's algorithm: a. What is the content of the matrix Need? b. Is the system in a 问答
What is the optimistic assumption made in the deadlock-detection algorithm? How could this assumption be violated?  问答