哪一种特殊的一般信号量,可以表示只测试不占用,相当于一个可控开关?
A.swait(s,n,n)
B.swait(s,n,1)
C.swait(s,1,1)
D.swait(s,1,0)
正确答案:swait(s,1,0)
相关答案
热门答案