-
进程插入
进程插入-The process of inserting
- 2022-03-19 02:26:40下载
- 积分:1
-
readers to write source code problem. I included in the Notes. Not joined the pr...
读者写者问题源码.包含我的注释.
没有加入工程文件.
只有一个R&W.cpp.在vc++6.0下编译成功.
在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n 个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制实现读者-写者问题(读者优先)。
读者-写者问题的读写操作限制:
1)写-写互斥;
2)读-写互斥;
3)读-读允许;
读者优先的附加限制:如果一个读者申请进行读操作时已有另一读者正在进行读操作,则该读者可直接开始读操作。
运行结果显示要求:要求在每个线程创建、发出读写操作申请、开始读写操作和结束读写操作时分别显示一行提示信息,以确信所有处理都遵守相应的读写操作限制。
下面是一个测试数据文件的例子:
1 R 3 5 2 W 4 5 3 R 5 2 4 R 6 5 5W 5 3
-readers to write source code problem. I included in the Notes. Not joined the project documents. Only one R
- 2023-05-26 02:50:03下载
- 积分:1
-
A multi
一个多线程扫描器。速度很慢,实用性不强,但对于SOCKET初学者来说,有一定的参考价值。-A multi-threaded scanner. Very slow, practicality is not strong, but for beginners SOCKET example, has a certain reference value.
- 2022-06-15 05:14:49下载
- 积分:1
-
进程模块列表.rar
进程模块列表.rar- The advancement module tabulates rar
- 2022-07-10 23:18:13下载
- 积分:1
-
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!...
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!-term solution is mainly the deadlock algorithm, also known as bankers algorithm can be used to hope!
- 2022-08-03 21:11:11下载
- 积分:1
-
Post trough technology used in the communication process between the routines. A...
利用邮槽技术,在进程间进行通信的例程。希望和大家交流。-Post trough technology used in the communication process between the routines. And we hope that the exchanges.
- 2022-03-21 22:34:53下载
- 积分:1
-
本人的操作系统题目,用优先级算法实现进程调度,可以随时添加进程进入就绪队列。...
本人的操作系统题目,用优先级算法实现进程调度,可以随时添加进程进入就绪队列。-subject of the operating system, with priority scheduling algorithm process, the process can be added at any time into ready queue.
- 2022-01-26 15:06:26下载
- 积分:1
-
进程和调度(内核
进程和调度(kernel-) - 非常好的一篇有关连接和加载的文章, 取之与网, 用之与网, 与你分享!-process and Scheduling (kernel-)- a very good connections and the loading of the article, but it must and network and the network is used, to share with you!
- 2023-07-19 07:00:09下载
- 积分:1
-
Toolkit for detecting Virtual machines
Toolkit for detecting Virtual machines
- 2022-03-05 10:22:22下载
- 积分:1
-
Demonstration of a simple procedure on how to write a simple pipe
一个简单的演示程序,关于如何写一个简单的pipe -Demonstration of a simple procedure on how to write a simple pipe
- 2022-03-13 06:34:54下载
- 积分:1