搜索资源列表
thread
- 线程池的实现主要分为三部分,线程的创建、添加任务到线程池中、工作线程从任务队列中取出任务进行处理。 主要有两个类来实现,CTask,CThreadPool-Implementation of thread pool is divided into three parts, thread creation, add the task to the thread pool, work out a thread from the task queue task for processing. Th
proxool-0.9.1
- 数据库连接池类。大家下载了可以学习下,里面大多使用了线程池的方式。-Database connection pool class. We downloaded can learn, under which most of the way using the thread pool.
STLQueue
- 线程安全队列实现,提高队列运行效率,采用模板类实现的,高效-Thread safe queue
20100428MultiThread6
- 该程序使用MFC类库演示如何创建用户界面线程。-The program demonstrates how to create user interface thread.
CircleBuffer
- 一个多线程安全,有详细事件通知的圆形缓冲区类-mutithread safe buffer class with event which was coded with C#
SerialPort
- 非常有用的多线程串口类,对于初学者很有帮助-Very useful multi-threaded serial class, very helpful for beginners
UserTThread
- 使用Delphi自带的TThread类实现多线程使用-User Delphi TThread class Multi-thread
MySCom
- VC++源码,对serialport类做了增强,基于多线程的串口通讯源程序,代码全。-Enhanced Serialport class,based on Vc++ and multi thread serial port (comm) communication source code.
OperaControsInThreads
- 利用BackgroundWorker类解决多线程中的控件操作问题。-Using BackgroundWorker class to solve multi-threaded operation of the control problem.
qfxThreadTest
- 线程测试类,可以对线程有个初步的了解,适用于小白新手(Thread test class, you can have a preliminary understanding of the thread, apply to small white novice)
shrx
- 基于MFC对话框类创建的线程,传递给线程函数2个参数(Based on the MFC dialog box class to create threads, two parameters passed to the thread function)
cpp11_thread-master
- 使用C++11 thread类编写Linux多线程程序(Using C++11 to write Linux multithreading)
day17
- java多线程操作入门,有详细编程代码和说明,测试类等(Java multithreaded operation of the entry, detailed programming code and instructions, test class, etc.)
多线程调度——哲学家就餐
- 利用JAVA线程,解决哲学家就餐问题。当某一哲学家线程执行取得筷子方法时, 程序会根据该线程的名称来确定该线程需要使用哪两支筷子,并且分辨出哪支筷子编号是奇数,按照先奇后偶的顺序来试图取得这两支筷子。 如果这两支筷子都未被使用(即对应的数组元素值为 false),该哲学家线程即可先后取得这两支筷子进餐,否则会在竞争某支筷子失 败后执行 wait()操作进入 Chopsticks 类实例的等待区, 直到其他的哲学家线程进餐完毕放下筷子时用 notifyAll()将其唤醒。当某一哲学家线程放下筷子时
MThread
- 用Math类中的随机函数产生10000个0~999范围的随机数并存于数组。从键盘接收一个0~999的数x,然后用5-8个线程并发查找x的所有下标位置(The random numbers of 10000 0~999 ranges are produced by using random functions in the Math class to coexist in the array. Receive a number of 0~999 from the keyboard, x, and
鱼刺类_多线程应用v5.1
- 鱼刺类_多线程应用v5.1.zip 鱼刺多线程模块,比系统自带的好用。(Fishbone class _ multi-threaded applications v5.1.zip fishbone multi threading module than the system comes with easy to use.)
threadpool2.py
- 多线程调用执行。单线程执行起来速度比较慢,用python封装成公公类,方便调用。(multi thread, it used to complex condition.)
Commthread
- 这是一个用于实现多线程串口类开发的实际测试例程,已经经过调试,实际使用于项目中了。(This is a practical test routine for implementing multithreaded serial class development that has been debugged and actually used in the project.)
DownTheradsUitl
- 自己写的Java多线程下载类,可以自己定义下载线程,自己定义下载目录,带断点续传(Write multi-threaded Java download, you can define their own download thread, define your own download directory, with http)
Pthreadpool
- 使用pthread库,不仅提供全局函数的多线程方式,还提供类成员函数的多线程调用方式。(Using pthread library. Not only provides multithreading for global functions, but also provides multithread calling methods for class member functions.)