-
关于线程的代码,很实用,希望大家多多支持,互相学习
关于线程的代码,很实用,希望大家多多支持,互相学习-Code on the thread, very useful, hope that we can support and learn from each other
- 2022-01-25 16:18:42下载
- 积分:1
-
多线程服务器客户端,一个服务器可连接多个线程
多线程服务器客户端,一个服务器可连接多个线程-multithreaded server client, a server can connect to multiple threads
- 2022-03-29 15:56:07下载
- 积分:1
-
一个进程间的通信的好程序,好源码,值得一看,非常有帮助...
一个进程间的通信的好程序,好源码,值得一看,非常有帮助-A good inter-process communication procedures, a good source, worth a visit, very helpful
- 2022-10-19 12:00:02下载
- 积分:1
-
通过消息机制实现Exe程序间的数据交换,实现进程间的通讯的有一个方法!...
通过消息机制实现Exe程序间的数据交换,实现进程间的通讯的有一个方法!-information through mechanisms Exe procedures between the exchange of information, to achieve inter-process communication in a way!
- 2022-08-06 13:14:08下载
- 积分:1
-
Describe the process of state transition process and provide the process of chan...
描述进程状态迁移过程,提供进程状态变化的条用接口-Describe the process of state transition process and provide the process of change in the status of interface
- 2022-07-01 12:53:42下载
- 积分:1
-
an "ACE Programmer's Guide" Chapter 16 of the thread pool examples...
一个在《ACE程序员指南》16章的线程池的例子,但是书上的代码有问题。我进行了修改,使得多线程的运行更加健壮,不会出现当队列中无消息时,线程池迅速消失的BUG。相信很多ACE初学者发现了此问题,在此卖弄一下。-an "ACE Programmer"s Guide" Chapter 16 of the thread pool examples, but the book on the code problems. My modified so that the multi-threaded operation more robust, not when there were no queues at the news, thread pool rapidly disappearing BUG. Many believe that the ACE beginners discovered this issue in the play about.
- 2022-01-26 04:08:20下载
- 积分:1
-
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。...
一个多任务应用程序。带有四个彩色转轮的应用程序,每个彩色转轮都按自己的线程运行。其中两个使用OnIdle函数;另外两个则作为独立的线程运行。-a multi-tasking applications. Color wheel with four applications, each color wheel has its own threads to run. Two of them use OnIdle function; The other two were used as the independent threads running.
- 2022-05-17 14:55:08下载
- 积分: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
-
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表...
章提供了访问NT中所有Service的功能,每次列举Services时,函数会返回一个列表-chapter of NT visit all the functions Service, each cited Services, the function will return a list
- 2022-07-13 10:56:23下载
- 积分:1
-
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进...
用wondows多线程编程实现小球的分别控制,可以让任何一个小球停止和前进-with wondows multithreaded programming of the respective ball control, allows anyone to stop a small ball and advance
- 2022-01-23 10:19:16下载
- 积分:1