2019年5月10日
摘要: P187-43 Cemaphore empty=1;橘子精=0;糖=0;水=0; Process product(){ While(true){ P(empty); 产生一个随机数s; If(s==0) V(橘子精); If(s==1) V(水); If(s==2) V(糖); } } Proces 阅读全文
posted @ 2019-05-10 10:36 温胜超 阅读(116) 评论(0) 推荐(0) 编辑