-操作系统精髓与设计原理(第五版)+课后题答案1(5)

2021-02-21 08:23

-操作系统精髓与设计原理(第五版)+课后题答案1

CHAPTER 5

CONCURRENCY: MUTUAL

EXCLUSION AND SYNCHRONIZATION

Review Questions

5.1 Communication among processes, sharing of and competing for

resources, synchronization of the activities of multiple processes, and allocation of processor time to processes.

5.9 A binary semaphore may only take on the values 0 and 1. A general

semaphore may take on any integer value.

Problems

5.2 ABCDE; ABDCE; ABDEC; ADBCE; ADBEC; ADEBC; DEABC; DAEBC; DABEC; DABCE

5.5 Consider the case in which turn equals 0 and P(1) sets blocked[1] to true and then finds blocked[0] set to false. P(0) will then set blocked[0] to true, find turn = 0, and enter its critical section. P(1) will then assign 1 to turn and will also enter its critical section.


-操作系统精髓与设计原理(第五版)+课后题答案1(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:五金材料备品件项目可行性报告(2013年发改委评审通过案例范文)-

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: