他們不能正確運行
The P
parbegin
var x:integer;
mutex:semaphore;
process P
var y
begin begin
p(mutex); p(mutex);
x:=
y:=
if x≥
v(mutex); v(mutex);
z:=y; u:=t;
end end
parend
返回《操作系統之PV金典》
[
From:http://tw.wingwit.com/Article/program/czxt/201311/24093.html