-
readers of this program
本程序实现读者-写者问题.采用WINDOWS API实现.有比较详细的程序说明-readers of this program- writing problem. Using Windows API. A more detailed description of the procedures
- 2022-10-13 07:10:03下载
- 积分:1
-
一个有关定时器的例程,一个很基础的咚咚,哎
一个有关定时器的例程,一个很基础的咚咚,哎-A timer routine, based on a very咚咚, hey
- 2022-08-20 06:20:28下载
- 积分:1
-
详细讲解进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。...
详细讲解进程间通讯的四种方式:剪贴板、匿名管道、命名管道和邮槽。并比较分析这几种进程间通信的优点和缺点。-explain in detail the communication process in four ways : the clipboard, anonymous pipes, named pipes and mail chutes. Analysis and comparison of several inter-process communication advantages and disadvantages.
- 2022-03-22 20:51:19下载
- 积分:1
-
一个很好的可以读取进程信息的VC++源代码
一个很好的可以读取进程信息的VC++源代码-a good process information can read the source code of VC
- 2022-03-22 11:01:56下载
- 积分: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
-
多线程编程终结篇之一 使用WIN32API编写多线程源码
多线程编程终结篇之一 使用WIN32API编写多线程源码-One multi-threaded programming终结篇prepared using Win32API-source multi-threaded
- 2022-01-31 13:47:05下载
- 积分:1
-
Visual C++课程设计案例精编(第二版)
提供的一个系统进程管理器...
Visual C++课程设计案例精编(第二版)
提供的一个系统进程管理器-Visual C curriculum design case precision series (2nd edition) provides a system for process management
- 2022-02-26 17:59:24下载
- 积分:1
-
本节允许您浏览未经压缩文件中包含的文件…
This section allows you to browse the files contained within a ZIP file without having to download it first. The file list below shows all of the files those that are in a text format that we recognize the extension for (e.g. source code files) are linked to a page where you can view the contents of the file. -This section allows you to browse the files contained within a ZIP file without having to do wnload it first. The file list below shows all of the files those that are in a text format that we r ecognize the extension for (e.g. source code fi les) are linked to a page where you can view the co ntents of the file.
- 2022-01-25 14:39:34下载
- 积分:1
-
一个比较简单的Windows进程管理器源代码,仅供参考
一个比较简单的Windows进程管理器源代码,仅供参考-a relatively simple process management for Windows source code, for information purposes only
- 2022-03-21 13:01:23下载
- 积分:1
-
c example explanation of the development of language, learning the C language ve...
c语言开发实例详解,对学C语言的很有用的-c example explanation of the development of language, learning the C language very useful
- 2022-03-01 19:07:30下载
- 积分:1