绝大部分是上课期间的作业,可能后续会有补充,也可能没有
部分内容有参考(包括博客,随书的参考资料,课程资料等等),部分内容是自己写的
另,因为课程要求,所以作为作业上交的部分是用英文完成的,后续补充用英文还是中文看心情叭hhh
操作系统的初学者,如有疏漏或错误,欢迎指正 (^ _ ^)
22.A system has two processes and three identical resources. Each process needs a maximum of two resources. Is deadlock possible? Explain your answer.
The system is deadlock free. Suppose that each process has one resource. There is one resource free. Either process can ask for it and get it, in which case it can finish and release both resources. Consequently, deadlock is impossible.
26.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