位置:IT落伍者 >> 电脑故障 >> 浏览文章
The PV code Using Pascal
begin
mutex:semaphore=;
cobegin
process Scar//南边来的车
come;
p(mutex);
过桥;
v(mutex);
go;
end
process Ncar//北边来的车
coend
返回《操作系统之PV金典》
[] [] [] [] [] [] [] []
上一篇:3.2.4 简答题[1]
下一篇:十四 真经之过桥问题[5]