-
operating procedures contradict the procedure if you are running two or more, an...
程序的互斥运行
如果你的程序被同时运行两次以上,有可能会造成文件系统冲突而丢失数据,本例程用一个简单的办法避免第二次启动同一个程序。-operating procedures contradict the procedure if you are running two or more, and may cause conflicts and file system data loss, the routines with a simple way to avoid the second started with a procedure.
- 2022-04-15 19:59:07下载
- 积分:1
-
VC的多线程不同保护的一个类,实现多线程对共有资源的同步操作....
VC的多线程不同保护的一个类,实现多线程对共有资源的同步操作.-VC Multithreading a different type of protection, the realization of multi-threaded for simultaneous operation of shared resources.
- 2022-04-20 01:57:44下载
- 积分: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
-
DKOM process hiding
DKOM 隐藏进程 直接系统内核修改
断开FLINK链表-DKOM process hiding
- 2022-01-25 14:02:42下载
- 积分:1
-
VC完整应用程序代码,多线程 多任务,还可以自己使用
VC完整应用程序代码,多线程 多任务,还可以自己使用-VC complete application code, multi-threaded multi-task, but also for its own use
- 2022-12-24 08:00:03下载
- 积分:1
-
操作系统原理实例代码,涉及进程、线程、信号量等操作系统的原理和思想的实现。...
操作系统原理实例代码,涉及进程、线程、信号量等操作系统的原理和思想的实现。-operating system code examples principle involved process, threads, signals and so on the operating system principles and ideas of achievement.
- 2022-04-27 08:13:42下载
- 积分:1
-
vb多线程实例,可以对初学VB同伴有所帮助,
vb多线程实例,可以对初学VB同伴有所帮助,-vb examples of multi-threaded, can be helpful to novice VB companions,
- 2022-03-26 17:38:55下载
- 积分:1
-
信号灯实现多线程控制例子。
信号灯实现多线程控制例子。-signal multi-threaded control examples.
- 2022-03-21 08:25:47下载
- 积分:1
-
demonstration Multithreading can be flown and awaken threads, good ah !
演示多线程,可以挂起和唤醒线程,很好的啊!-demonstration Multithreading can be flown and awaken threads, good ah !
- 2022-02-03 16:48:04下载
- 积分:1
-
这是介绍标准的多线程编程的一些资料和代码,介绍的比较详细...
这是介绍标准的多线程编程的一些资料和代码,介绍的比较详细-This is the standard on multi-threaded programming some of the information and codes, and a more detailed briefing
- 2022-08-17 14:37:30下载
- 积分:1