会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
李健国
博客园
首页
新随笔
联系
管理
订阅
2019年4月30日
用信号量进程同步与互斥
摘要: 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)
编辑
公告