登录
首页 » Process-Thread » 在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的...

在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的...

于 2022-01-25 发布 文件大小:9.78 kB
0 77
下载积分: 2 下载次数: 1

代码说明:

在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files (with a) on the request and write. Using signal mechanism volume respectively priority and the readers who wrote a priority of readers wrote persons.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • 这是一个进程同步的程序,可以判断死锁的问题,是可以支持多进程的程序。...
    这是一个进程同步的程序,可以判断死锁的问题,是可以支持多进程的程序。-This is a process synchronization procedures can be judged Deadlock problems, can support multi-process procedures.
    2022-06-12 20:21:02下载
    积分:1
  • use UTF
    采用 UTF-8 编码,完美兼容多语言 中文化的前台界面(不包括论坛帮助) 中文化的后台 中文化的安装与升级系统 中文的版主操作日志 为中文修正的 CSS, Javascript 为中文修正的语言截断 为中文修正的所见所得编辑器 修正邮件预览乱码的问题 修正模板和后台中多处未使用 Charset 声明出现乱码的问题 修正打印页面 HTML 标签错误混乱 去除后台首页附件使用空间统计(附件一多,首页进入奇慢) 加强的 SSI 脚本,允许以 Javascript 方式调用指定论坛的新帖 增加 Javascript 脚本自动缩图功能,图片加载之后会自动缩小到浏览器窗口的大小范围之内,不会撑破页面表格. 点击缩小后的图片将在新窗口内显示正常大小的图片,同时使用鼠标滚轮 + Ctrl 可以自由放大或缩小图片 各种中文兼容性修正 -use UTF-8 encoding. perfectly compatible with multi-language culture prospects interface (not including the Forum help), the cultural background of the Cultural Department of installation and upgrading EC Chinese operation log to the moderator that the Chinese CSS, Javascript amendment to the Chinese for the Chinese language disconnect that the editor can see from that chaos mail preview Amended code templates and background were not multiple use Charset statement causing distortion of the issues that print pages H TML labels wrong to remove confusion background Home spatial statistical annex (Anne
    2022-12-16 13:45:04下载
    积分:1
  • 封装的线程类CThread
    封装的线程类CThread- Seal line Cheng Lei CThread
    2023-01-21 19:40:04下载
    积分:1
  • 此为操作系统实验报告: scan,cscan算法模拟磁盘调度 内含:程序流程图 设计思路 主要源码等等。 简介:磁盘是一种高速、大容量、旋转型、可直接存取的存储...
    此为操作系统实验报告: scan,cscan算法模拟磁盘调度 内含:程序流程图 设计思路 主要源码等等。 简介:磁盘是一种高速、大容量、旋转型、可直接存取的存储设备。它作为计算机系统的辅助存储器,担负着繁重的输入输出任务、在多道程序设计系统中,往往同时会有若干个要求访问磁盘的输入输出请求等待处理。系统可采用一种策略,尽可能按最佳次序执行要求访问磁盘的诸输入输出请求。-operating system for this experiment : scan, cscan scheduling algorithm simulation disk containing : flowchart design major source so on. Description : disk is a high-speed, high-capacity, rotating type, direct access storage devices. As computer systems support memory, shoulders the heavy task of input and output, multiple procedures in the system design, while there are often a number of requests to visit disk input and output requests pending.
    2022-08-15 17:19:56下载
    积分:1
  • 在MFC下创建一个进程的例子
    在MFC下创建一个进程的例子-MFC in the process of creating an example
    2022-04-09 07:43:11下载
    积分:1
  • 一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。...
    一个基于父进程和子进程之间用匿名管道进行进程通讯的实例,附带了可执行文件以及全部源码。非常好的了解匿名管道机制的程序。-One based on the parent process and child processes to process communication with the anonymous pipe instance comes with an executable file and all source code. A very good understanding of the anonymous pipe mechanism.
    2022-03-03 18:50:32下载
    积分:1
  • 一种可以利用它来实现线程安全读写控制的模型,可以在vc下编译运行。...
    一种可以利用它来实现线程安全读写控制的模型,可以在vc下编译运行。-one can use it for reading and writing threaded control of the security model, the compiler running under vc.
    2022-02-21 05:54:16下载
    积分:1
  • published in 2005, two of code, code demonstrating the use of Visual C since the...
    刊登在2005年第2期的代码,代码演示了在Visual C++中利用自定义消息实现线程间通讯。-published in 2005, two of code, code demonstrating the use of Visual C since the definition of news to achieve communication between threads.
    2022-01-30 10:08:01下载
    积分:1
  • 一个关于多线程实例的程序
    一个关于多线程实例的程序-program about multi thread
    2022-07-02 20:05:13下载
    积分:1
  • C#多线程练习~~~~~~ 仅供初学者学习探讨
    C#多线程练习~~~~~~ 仅供初学者学习探讨-C# thread test it is a test !!!!!
    2022-03-30 04:52:53下载
    积分:1
  • 696518资源总数
  • 105300会员总数
  • 3今日下载