什么是原语?为什么P操作和V操作必须是原语?
把不可中断的过程称为原语。因p操作过程和V操作过程都会涉及到对相同信号量进行操作,若在执行中被中断的话,其本身就可能产生与时间有关的错误,就不能正确地实现进程同步与互斥。
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/230894.html
上一篇:提出“经济和谐论”的经济学家是
下一篇:Suburbia (郊区) As the cities became more crowded and as the means of transportation improved, middle-class residents (居民)of the city began to move out. In the suburbs they could find ____41___ (safe), more attracti
Suburbia (郊区) As the cities became more crowded and as the means of transportation improved, middle-class residents (居民)of the city began to move out. In the suburbs they could find ____41___ (safe), more attracti