One of the most important things the program plans to do is to remind us of what we can do to protect ourselves.
该项目所计划做的最重要的事情之一,就是提醒我们可以通过做什么来保护自己。
We recommend a better strategy: to remain aware of the data requirements from a program design viewpoint and have a semaphore protect smaller amounts of data.
我们推荐一种更好的战略:从程序设计的视角分析数据需求,让一个信号量保护的数据量更少。
This specific tradeoff involves a choice between two bad results: deadlock the program or fail to protect the state of a critical resource.
这个特定的折衷是对两种糟糕结果的选择:程序死锁,还是不再保护重要资源的状态。
应用推荐