-
本程序模拟进程管理,类似windows里的进程管理界面,但是只是模拟各种状态的转换以及cpu的分配,有利于在学习os时对进程加深理解...
本程序模拟进程管理,类似windows里的进程管理界面,但是只是模拟各种状态的转换以及cpu的分配,有利于在学习os时对进程加深理解-the simulation process management, and similar windows Lane process management interface, but only to simulate a state of the allocation of cpu is conducive to the learning process right when os deepen understanding
- 2022-03-22 19:59:43下载
- 积分:1
-
在MFC下面点击菜单响应线程池工作事件,线程池工作是一个写文件内容到c盘。可以设定线程池的大小。...
在MFC下面点击菜单响应线程池工作事件,线程池工作是一个写文件内容到c盘。可以设定线程池的大小。-In the MFC-click menu below to respond to the work of the event thread pool, thread pool is a written document to the c drive. Can set the thread pool size.
- 2022-06-28 19:58:00下载
- 积分: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
-
c语言实现生产者消费者问题
c语言实现生产者消费者问题-producer consumer issues
- 2022-03-20 09:39:04下载
- 积分:1
-
CloseSmoothly_demo through dialog callback achieve a smooth fade out effect fade...
CloseSmoothly_demo, 通过回调实现对话框的平滑淡入淡出效果-CloseSmoothly_demo through dialog callback achieve a smooth fade out effect fades
- 2022-02-26 21:28:28下载
- 积分:1
-
实现读写者,更好的人机交互界面。
实现读者谁写,更好的交互用户界面。
- 2022-10-17 02:35:03下载
- 积分:1
-
此段程序采用公开的 Win2k注射远程线程,来保护指定进程始终处于运行状态。 生成wap32.exe拷贝到c:下运行,则Wap32进程不死。...
此段程序采用公开的 Win2k注射远程线程,来保护指定进程始终处于运行状态。 生成wap32.exe拷贝到c:下运行,则Wap32进程不死。-During the proceedings open Win2k injection remote threads, to protect the designation process has always been running. Generation wap32.exe copy of the c : run, Wap32 process of immortality.
- 2022-03-17 22:05:40下载
- 积分:1
-
简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread...
简单线程池的实现方法,包含一个主控线程池类ThreadPool和一个工作线程WorkThread-simple thread pool method, including a master class ThreadPool thread pool, and a work-threaded WorkThread
- 2022-04-22 16:30:47下载
- 积分:1
-
在Dao中使用多线程
在Dao中使用多线程-Using multi-thread in DAO
- 2022-02-21 01:50:16下载
- 积分:1
-
进程显示,可以杀具体进程。得硬盘序列号。
进程显示,可以杀具体进程。得硬盘序列号。-process that can kill specific process. In hard drive serial number.
- 2022-02-07 06:31:22下载
- 积分:1