CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程

文件名称:Access

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    14.88kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。

读者-写者问题的读写操作限制(包括读者优先和写者优先)

1)  写-写互斥:不能有两个写者同时进行写操作

2)  读-写互斥:不能同时有一个线程在读,而另一个线程在写。

3)  读-读允许:可以有一个或多个读者在读。

-In Windows2000 environment, create a console process, this process contains n threads. Using this n that n threads to a reader or writer. Each thread in accordance with the corresponding test data files (described later) to read and write operation requirements. Semaphore mechanism with the respective priorities and the achievement of the readers who write priority issue. Readers- to write the issue of restrictions on the read and write operations (including readers and write priority priority) 1) to write- write mutex: You can not write those two write operations at the same time 2) read- write mutex: not at the same time there is a line way in the reading and writing another thread. 3) Reading- Reading allowed: You can have one or more readers to read.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

reader and writer.doc
Reader-Write.cpp

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com