资源列表
风扇
- 使用多线程实现一种模拟风扇的程序,可以利用按钮控制风扇的运动情况!Java实现!是一个applet!-use multithreading to achieve a simulation fans procedures, we can use the buttons to control the movement of fans! Java! It is an applet!
KillBaiduPlayer
- WIN32 枚举指定进程并结束进程 控制台程序 本例以杀死百度影音的进程为例子-Enumeration specifies WIN32 console application process and end the process in this case in order to kill the process as an example Baidu video
MultiThread-two-examples
- 该文档包含了两个多线程的程序,通过对参数的修改深入理解多线程。-This document contains two multi-threaded program, by modifying the parameters of a deep understanding of multi-threading.
Thread
- 多线程的一些小程序,有各种各样的多线程的简单实现-Number of small multi-threaded program, there are various simple implementation of multi-threading
thread
- 利用java实现的多线程模拟技术,初学者可做线程及基本控件学习的参考。-Using java implementation of multi-threaded simulation technology, and basic controls for beginners to learn to do the thread reference.
shengchanzhexiaofeizhe
- 生产者 消费者线程,建立五个缓冲区,生产同时进行,生产者生产产品,所有消费者必须都取完-Producers of consumer thread, the establishment of the five buffer zone, production at the same time, producers of the production of products, all consumers must have taken the End
Reader-Writer
- 创建一个控制台进程,此进程包含n个线程,用这n个线程来表示n个读者或写者,每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作,用信号量机制分别实现读者优先和写者优先的读者-写者问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先): 写-写互斥,即不能有两个写者同时进行写操作。 读-写互斥,即不能同时有一个线程在读,而另一个线程在写。 读-读允许,即可以有一个或多个读者在读。 读者优先的附加限制:如果一个读者申请进行读操作时已有另一个读者正在进行读操作,则该
09-Queue
- 一个在window环境下的线程安全的队列,可以在多线程中使用,也可以跨进程调用。-A thread-safe queue in the window environment can be used in multi-threaded, you can also cross-process calls.
EventTest
- 用过C#中event,觉得用起来真的很爽 但是C++中没有类似的机制, 所以通过Functor,实现了类似C#中的event 模板参数类型。 因为时间仓促,暂时没考虑多线程, 所以非多线程安区的,有需要的自己加。-template event implement in C++
安全稳定的实现进线程监控
- 用PsSetCreateProcessNotifyRoutine,PsSetCreateThreadNotifyRoutine来进行进程线程监控我想大家已经都非常熟练了.sinister在<>一文中已经实现得很好了.前一段时间看到网上有人在研究监视远线程的文章,比较有意思.就写代码玩一玩.这之中就出现了一些问题.比方说直接用sinister的代码的话,是不能动态卸载的,因为他在安装了进线程监视函数后没有进行清除动作,造成在动态卸载时蓝屏,BUGCHECK为0x000000ce,错误码
threadpool
- 易用的thread pool系统,通过继承线程基类对象,使对象具备在动态分配的线程池中运行的能力。-thread pool system
ThreadSync01
- 当你在程序中使用多线程时,这经常会用到,而且这些线程需要同时访问同一个资源时,这个可能性很大,这时候你就需要用到线程同步技术。有些线程以只读方式访问资源,我们叫它ReadThread,而有些线程却需要对资源进行写入,我们叫它WriteThread,我们暂时先这样称呼。如果一个线程对资源的访问是读写方式,我们把它看作是WriteThread。 -when you process multiple threads, which are often used, but these threads