搜索资源列表
创建、管理线程池的源代码.rar
- 创建、管理线程池的源代码
czxt_1
- 基于dos的多任务系统的实现 通过对线程的创建和撤销,cpu的调度,同步机制,通信机制的实现.-based multi-tasking system of the threads through the creation and withdrawn, cpu scheduling, synchronization mechanisms, communication mechanisms to achieve.
创建多进(线)程
- VC目录: 演示Viusal C++中创建多线程的方法 编译环境要求: 安装Viusal C++6.0 主要文件说明: ThreadDemo.cpp: 演示创建线程的C++文件 run.cmd:自动打开一个命令窗口执行程序的脚本文件-VC Contents : Presentations Khan C to create multiple threads of environmental requirements compiler : 6.0 C contemp
liner
- 实用小程序:多线程管理器。包括演示了多个线程的创建,运行和关闭等管理,本程序实现了多线程管理类ThreadManager,CThreadTask。对您肯定有帮助!-practical small : multithreading manager. A number of demonstrations, including thread creation, operation and closure of management, the procedures to achieve the mult
testmanagerthread
- 本实例实现一个多线程的管理器。在应用程序中,可以进行多个线程的创建、执行和关闭等管理。-examples of the realization of a multithreaded manager. In the application process, can create multiple threads, implementation and management of closure.
Register_ThreaPool
- 线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。-thread creation, destruction and scheduling itself is a cost, if the threads of a relatively simple task. That time and space costs can not be ignored, th
ThreadAsyn
- wince对线程进行控制的实例程序,包括线程的创建,控制和同步等-wince right thread for the control of the examples of procedures, including thread creation, control and synchronization
ossystem
- 基于DOS的多任务系统的实现 1. 用C语言完成线程的创建和撤消,并按优先权加时间片轮转算法对多个线程进行调度; 2. 改变时间片的大小,观察结果的变化。思考:为什么时间片不能太小或太大; 3. 假设两个线程共用同一软件资源(如某一变量,或某一数据结构),请用记录型信号量来实现对它的互斥访问; 4. 假设有两个线程共享一个可存放5个整数的缓冲,一线程不停的计算1到50的平方,并将结果放入缓冲中,另一个线程不断的从缓冲中取出结果,并将他们打印出来,请用记录型信号量实现这一生产者和消
three-thread-Mousev2.0src
- 三线程诱鼠器源代码,对线程的创建及运行管理,很好的设计思想.-lured three threads for source code control, the right to build and thread management, and good design.
程序创建两个线程
- 程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个线程有一个消息队列,主线程中的PostThreadMessage()返回TRUE,程序由Visual C++ 6.0开发,没有用到MFC-process creates two threads, one thread without Message Queue, the main thread to thread a resolution
ff001
- 本例通过创建2个线程分别实现2个小球在固定区域里运动,通过本例希望您能掌握对线程的创建、停止操作。
ff002
- 本例通过创建2个线程分别实现2个小球在固定区域里运动,通过本例希望您能掌握对线程的创建、停止操作。
epoll多线程
- Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知Thre
vc++多线程
- 多线程编程 进程和线程都是操作系统的概念。进程是应用程序的执行实例,每个进程是由私有的虚拟地址空间、代码、数据和其它各种系统资源组成,进程在运行过程中创建的资源随着进程的终止而被销毁,所使用的系统资源在进程终止时被释放或关闭。 线程是进程内部的一个执行单元。系统创建好进程后,实际上就启动执行了该进程的主执行线程,主执行线程以函数地址形式,比如说main或WinMain函数,将程序的启动点提供给Windows系统。主执行线程终止了,进程也就随之终止。 每一个进程至少有一个主执行线
创建线程
- 让用户知道如何创建一个线程,理解线程的意义和作用
Linux_multithread
- Linux下多线程编程的相关资料,:研究了在LINUX 操作系统下多线程的编程方法,主要包括多线程的基本创建方法、如何修改 多线程的属性以及线程之间的数据处理. 重点论述了多线程数据处理方法中的互斥锁和条件变量.-Linux multi-threaded programming under the relevant information: The LINUX operating system in multi-threaded programming methods, including
C10K
- Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由Th
threadthumbnail
- qt下多线程开发,利用子线程完成创建缩略图的任务-Under the multi-threaded qt development and use of child threads to complete the task of creating thumbnails
ConsoleApplication1
- 【C#多线程】 动态创建多个线程后 需要关闭其中某个线程的解决实例。-】 【C# multi-threaded dynamic creation of multiple threads need to close them after the settlement of a thread instance.
multiUART
- 通过创建多线程的方法来实现arm板上的多串口的并行通信,自己编写的,并在板上测试过的,但是针对你的板子,要自己设定。-By creating multi-threaded approach to achieve multi-arm board parallel port communication, I have written and tested on the board, but for your board, to set their own.