-
本程序用VC编写,主要用于演示如何实现多线程多任务。
本程序用VC编写,主要用于演示如何实现多线程多任务。-the procedures used to prepare VC, mainly for demonstrating how to achieve multi-threaded multi-task.
- 2023-04-25 01:20:03下载
- 积分:1
-
Own multi
自己做的
多线程抽奖
功能比较少做一个示范-Own multi-threading of the draw features to make a model less
- 2022-02-04 12:44:13下载
- 积分:1
-
Multithreading in VB!!! (updated)
Multithreading in VB!!! (updated)
- 2022-02-01 09:56:10下载
- 积分: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
-
得到所有dll的关联调用
得到所有dll的关联调用-all dll called the link
- 2023-09-03 03:25:04下载
- 积分:1
-
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了...
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了-the procedure is written with the SDK, interesting, but most people do not understand, right now the SDK can be used for
- 2022-03-09 21:39:09下载
- 积分:1
-
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的...
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.
- 2023-08-20 23:10:03下载
- 积分:1
-
一种实现多线程的方法,值得一看
一种实现多线程的方法,值得一看-a multi-threaded approach, an eye-catcher
- 2023-04-19 06:55:02下载
- 积分:1
-
delphi的任务管理
delphi的任务管理-task management of delpi
- 2022-02-13 04:07:10下载
- 积分:1
-
用多线程保存文件。保存同时显示进度条、对话框大小可变
用多线程保存文件。保存同时显示进度条、对话框大小可变-failed to translate
- 2022-07-12 18:20:24下载
- 积分:1