CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 其它 操作系统开发 搜索资源 - 睡眠

搜索资源列表

  1. daima

    1下载:
  2. 睡眠理发师问题源码,理发店有一位理发师,一把理发椅和n把用来等候理发的椅子。如果没有顾客,则理发师在理发椅上睡觉,顾客理来时,如理发师闲则理发,否则如有空椅则坐等,没有空椅则离开,编写程序实现理发师和顾客程序,实现进程控制,要求不能出现竞争。-This is a classic problem of IPC, there is a barber barber shop, a barber chair and n barber chair waiting to be used. If there
  3. 所属分类:OS Develop

    • 发布日期:2017-04-04
    • 文件大小:1.71kb
    • 提供者:亦噷依弋
  1. thread

    0下载:
  2. 生产者,消费者线程并发进行,生产者发现缓冲区满了则唤醒消费者,自己睡眠。消费者发现缓冲区空了,唤醒生产者,自己睡眠。-The producer, the consumer thread, producers have found that the buffer is full, wake up the consumers, their sleep. Consumers find the buffer is empty, awaken the producers, their sleep.
  3. 所属分类:OS Develop

    • 发布日期:2017-04-13
    • 文件大小:1.7kb
    • 提供者:panyun
搜珍网 www.dssz.com