【单选题】【消耗次数:1】
对进程间互斥的使用临界资源,进程可以做到以下哪一项?
互斥的进入临界区
互斥的进入各自的临界区
互斥的进入同一临界区
互斥的进入各自的同类资源临界区
参考答案:
复制
纠错
相关题目
【判断题】 临界区是指进程中用于实现进程互斥的那段代码。()
①  正确
②  错误
【单选题】 以下哪一项是死锁的互斥条件?
①  进程获得的资源在未使用完毕前,不能被其他进程夺走
②  进程每次申请它所使用的一部分资源
③  涉及的资源是非共享的,即一次只有一个进程使用
④  每个进程已获得的资源被循环链中的下一个进程所请求
【单选题】 临界区是指并发进程中访问共享变量的()段。
①  管理信息
②  信息存储
③  数据
④  程序
【判断题】 把一次仅允许多个进程同时使用的资源称为临界资源
①  正确
②  错误
【单选题】 用P、V操作管理临界区时,信号量的初值一般应定义为以下哪一项?
①  0
②  -1
③  1
④  任意值
【判断题】 进程之间的互斥,主要源于进程之间的资源竞争,从而实现多个相关进程在执行次序上的协调。
①  正确
②  错误
【判断题】 进程之间的互斥,主要源于进程之间的资源竞争,从而实现多个相关进程在执行次序上的协调。()
①  正确
②  错误
【判断题】 多个操作不能在同一时刻执行,这种同步规则称为进程互斥。
①  正确
②  错误
【单选题】 用PV操作来管理n个并发进程互斥地使用某个共享资源时,信号量的初值应定义为()
①  -n
②  -1
③  1
④  n
【多选题】 下列属于盈亏临界图的是(  )。
①  传统式盈亏临界图
②  贡献毛益式盈亏临界图
③  利量式盈亏临界图
④  成本式盈亏临界图
随机题目
【单选题】 She had already mixed ( )the for the dumplings.
①  material
②  stuffing
③  mixture
④  mixing
【单选题】 Each room should ( ) a bed, desk, chair and storage space for personal belongings.
①  be furnished
②  be furnished with
③  furnish with
④  furnished with
【单选题】 Japanese currency is called ( )
①  Japanese Yen
②  Japanese Won
③  Japanese Yuan
④  Japanese dollar
【单选题】 A man’s suit is a ( ) jacket and a pair of trousers.
①  pair
②  suit
③  connecting
④  matching
【单选题】 Turn-down service ( ) a rule of Star hotel Ranking Standard.
①  is regarded as
②  considered as
③  is thought
④  is famous as
【单选题】 Many kings and emperors used ( ) chopsticks to test whether the food was poisonous.
①  bamboo
②  green jade
③  elephant tusk
④  silver
【单选题】 I need some ( )to take the bus.
①  exchange
②  charge
③  tip
④  change
【单选题】 Most people give tips varying between 15 to 20 percent of the cost. Give a 15 percent tip to a waiter. Give him ( ) if he has done a good job.
①  much
②  some
③  less
④  more
【判断题】 The credit cards were invented in the French
①  正确
②  错误
【判断题】 0.50$ is the largest coin in America
①  正确
②  错误