-
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!...
主要是用语解决死锁问题的算法,也称之为银行家算法,希望可以用的上!-term solution is mainly the deadlock algorithm, also known as bankers algorithm can be used to hope!
- 2022-08-03 21:11:11下载
- 积分: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
-
得到一个进程的状态,如是否没有反应。
得到一个进程的状态,如是否没有反应。-The status of a process, such as whether or not there was no response.
- 2023-01-31 20:20:03下载
- 积分:1
-
Process scheduling, memory, process scheduling to understand the situation and k...
进程调度,了解内存中进程调度情况,知道进程在内存中运行情况-Process scheduling, memory, process scheduling to understand the situation and know the process running in memory of
- 2022-02-26 15:51:29下载
- 积分:1
-
vc++6.0编写的 用粘贴板实现进程间通信
vc++6.0编写的 用粘贴板实现进程间通信-vc 6.0 paste prepared by the board with achieving inter-process communication
- 2022-08-19 07:54:09下载
- 积分:1
-
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-Generally speaking, the application of a secondary thread is always the main thread to perform a specific task, so that main thread and secondary threads must have a channel for the transmission of information, which is the main thread and the secondary thread to communicate between. This inter-thread communication is not only inevitable, but also in multi-threaded programming is complex and frequent, the following description will be carried out.
- 2022-03-06 14:41:20下载
- 积分:1
-
断链隐藏进程易[源码],用语言写的小玩意~希望有所帮助
断链隐藏进程易[源码],用语言写的小玩意~希望有所帮助-Easy to hide the process chain [source], written in language gadgets ~ hope that help
- 2022-03-21 02:10:56下载
- 积分:1
-
真正是的VB多线程实例,稳定高效
真正是的VB多线程实例,稳定高效-real multitherad example
- 2022-12-08 10:20:03下载
- 积分:1
-
如何让应用程序只存在一个实例
如何让应用程序只存在一个实例-how applications exists only one example
- 2022-05-15 03:01:06下载
- 积分:1
-
VC中终止其他进程的引用文件,用Include应用后就可以直接调用。...
VC中终止其他进程的引用文件,用Include应用后就可以直接调用。-VC in the termination of other processes cited documents Include the application after use can be directly called.
- 2022-03-10 11:13:22下载
- 积分:1