摘要: 6、 semaphore mutex=A, customer_count=0:CobeginCustomeri(){p(mutex);取号码,进入队列;v(mutex);v(customer_count);} serversi(){while(A){p(customer_count);p(mutex 阅读全文
posted @ 2019-04-30 17:48 李健国 阅读(260) 评论(0) 推荐(0) 编辑