-
NT下未公开的多线程读,单线程写的函数, 了解它对多线程编程会起到非常大的作用....
NT下未公开的多线程读,单线程写的函数, 了解它对多线程编程会起到非常大的作用.-NT under undisclosed multi-thread reading, writing single-threaded function, to understand its multi-threaded programming will play a very large role.
- 2022-08-05 16:21:43下载
- 积分:1
-
本实例实现了应用程序的多线程功能,即上下两幅动画分别表示同时运行的线程,是学习多线程编程的好材料...
本实例实现了应用程序的多线程功能,即上下两幅动画分别表示同时运行的线程,是学习多线程编程的好材料-examples of the realization of the application multithreading function, which is next two animation indicated the running threads of study is multi-threaded programming excellent materials
- 2022-03-23 03:44:43下载
- 积分:1
-
掌握CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数...
掌握CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数的巧妙运用。讲解如何使用CDC的裁减功能。-grasp of word processing procedures for the preparation, how to customize fonts and custom insert website. redeem familiar with the right kind of use. By karaoke program, the timer on the use and DrawText function cleverly use. CDC on how to use the reduction of function.
- 2022-04-21 05:09:36下载
- 积分:1
-
ATL components in the Apartment
在ATL组件的 Apartment 线程模型中进行进程间通信的例子-ATL components in the Apartment-threaded model for inter-process communication examples
- 2022-03-06 06:58:30下载
- 积分:1
-
MyProcess进程管理器
MyProcess进程管理器-MyProcess thead manegement
- 2022-04-15 05:22:09下载
- 积分:1
-
线程优先级示例,很好的 我可是做了很一段时间那
线程优先级示例,很好的 我可是做了很一段时间那-thread priority example, a very good but I made a very time that
- 2022-02-18 16:58:13下载
- 积分: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# a process manager, will show all system processes, and its termination of ope...
用C#实现的一个进程管理器,能显示出系统中所有进程,及对其进行终止等操作,值得一看。-C# a process manager, will show all system processes, and its termination of operations overseas.
- 2022-03-21 12:32:07下载
- 积分:1
-
FTP类,支持防火墙设置,在vc上面测试通过,可以放心使用
FTP类,支持防火墙设置,在vc上面测试通过,可以放心使用-category FTP support firewall settings, the vc above tests, can be assured use
- 2022-07-24 03:05:16下载
- 积分:1
-
使用信号量对象实现线程的同步的一个实例
使用信号量对象实现线程的同步的一个实例- The use signal quantity object realizes a line regulation
synchronization example
- 2022-01-28 10:10:45下载
- 积分:1