首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者――写入者...

创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者――写入者...

  • 资源大小:13.09 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Process-Thread

资 源 简 介

创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者――写入者问题。-the process of creating a console, this process contain n threads. Use of these n threads to express n readers who write. Each thread according to the corresponding test data document requests and write. Using signal volume mechanisms readers priority readers-- into the problem.

文 件 列 表

读者写者陈爱熔、魏海英、周荣荣、何坤
读者写者实验报告.doc
readerwriter.cpp
thread.dat
thread.txt
VIP VIP
0.179075s