答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
如果进程Pa对信号量S执行P操作,则信号量S的值应()。
①
加1
②
减1
③
等于0
④
小于0
参考答案:
复制
纠错
相关题目
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果进程Pa对信号量S执行P操作,则信号量S的值应( )。
①
加1
②
减1
③
等于0
④
小于0
查看完整题目与答案
【单选题】
如果信号量S的值是0 , 此时进程A执行P(S)操作,那么,进程A会( )。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
如果信号量S的值是0,此时进程A执行P(S)操作,那么,进程A会()。
①
继续运行
②
进入阻塞态,让出CPU
③
进入就绪态,让出CPU
④
继续运行,并唤醒S队列头上的等待进程
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为 -1,则表示有( )个等待进程。
①
0
②
1
③
2
④
3
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为 ?1,则表示有( )个等待进程。
①
0
②
L
③
2
④
3
查看完整题目与答案
【单选题】
若P、V操作的信号量S初值为2,当前值为1,则表示有()个等待进程。
①
0
②
l
③
2
④
3
查看完整题目与答案
【单选题】
在执行V操作时,当信号量的值( ),应释放一个等待该信号量的进程。
①
小于0
②
大于0
③
小于等于0
④
大于等于0
查看完整题目与答案
【单选题】
在执行V操作时,当信号量的值( ),应释放一个等待该信号量的进程。
①
小于0
②
大于0
③
小于等于0
④
大于等于0
查看完整题目与答案
【单选题】
在执行V操作时,当信号量的值(),应释放一个等待该信号量的进程。
①
小于0
②
大于0
③
小于等于0
④
大于等于0
查看完整题目与答案
随机题目
【单选题】
She gave a ( ) performance as the leading role in the school play, and the active atmosphere filled the theater.
①
vibrant
②
vibration
③
vibrate
④
vibrating
查看完整题目与答案
【单选题】
Be ( ) of where weve come from and the spirit of our nation.
①
prove
②
proudly
③
proud
④
prouder
查看完整题目与答案
【单选题】
The union plans to raise the ( ) of overtime.
①
ignorance
②
insurance
③
issue
④
ideal
查看完整题目与答案
【单选题】
This washing powder will work miracles on these oil ( ).
①
stains
②
stain
③
stained
④
stainless
查看完整题目与答案
【单选题】
New businesses ( ) in this area.
①
thrive
②
thrill
③
thrift
④
threat
查看完整题目与答案
【单选题】
He moved to Ohio in 2005 where, ( )other things, he worked as a journalist.
①
awhile
②
amid
③
await
④
among
查看完整题目与答案
【单选题】
You need to ( ) to the local authority for a grant.
①
apply
②
applaud
③
appeal
④
arise
查看完整题目与答案
【单选题】
You should give your children more opportunities to have personal time and space to ( ) with friends or do whatever they want.
①
hang out
②
hang up
③
hang on
④
hang in
查看完整题目与答案
【单选题】
On this calendar you can find elective classes as well as review sessions and other events that were not part of ( ) class or exam time.
①
mandate
②
mandator
③
mandated
④
mandatory
查看完整题目与答案
【单选题】
The related ( ) are sufficient for you to collect the information you need for your presentation.
①
public
②
publications
③
republic
④
in public
查看完整题目与答案