搜索资源列表
程序创建两个线程
- 程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到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个小球在固定区域里运动,通过本例希望您能掌握对线程的创建、停止操作。
CreateProcess
- 这是一个非常好的创建多线程的线程的程序,实现了一个完整的线程的创建
08
- 以一个具体实例介绍工作者线程和用户界面线程的创建。在本实例中将创建一个工作者线程和用户界面线程。
MultiProExa
- 这是一个关于多线程的例子,虽然比较简单,但包含了线程的创建、开启、以及终止整个过程。
MultiThread
- 这是一个多线程售票程序,可以帮助理解线程的同步问题,线程的创建问题
MulThreadclass
- 感觉多线程确实麻烦,线程间要处理好同步与通讯,如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,那必须定个全局函数,或者写个静态函数,一般是传个this指针进去,然后再用这个指针调用本类函数的成员函数,用起来比较麻烦,现在问题是能不能不用全局或者静态函数来实现呢,于是我实现了这个类,来所简化多线程的创建和关闭的操作。
multiple
- 要了解多线程的朋友可以下载,很在帮助,里面对线程的创建,管理,施放都有详细讲解
Tread2
- 多线程的创建实例,一个很简单,很形象的例子。
ThreadPool_server
- 线程池主要是针对线程的创建和销毁的系统开销问题,方法是利用一定数量的缓存的线程来缓解服务创建和销毁线程的开销。
我的线程创建程序
- 一个简单的学习线程创建程序-a simple learning procedure to create threads
nt_thread
- 自己写的。多线程控制的演示程序。 包括线程的创建、挂起和释放。 附有详细的注解-wrote it myself. Multithreading control of the demonstration program. Thread including the creation, aloof and release. With detailed explanation
MulThreadclass
- 如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。
libuclinux
- uclinux线程的创建、消息队列的创建、信号量、互斥信号量、信号等的创建,采用vxworks的接口方式-Basis thread creation, message queue creation, semaphores, mutual exclusion semaphores, signals the creation, use the interface mode VxWorks
BeginthreadDemo.rar
- 这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。, This is Win32 console which I writes the Application procedure tests the _beginthread function foundation multithreading procedure the usage as well as the parameter transmissio
xiancheng
- 线程的创建,挂起与解挂,通过C语言实现该功能,程序清晰易懂。-Thread creation, hang with the solution linked to the function through the C language, the program clear and understandable.
MFC_Thread
- 使用MFC进行线程编程的例子,本工程包含三个线程,演示了线程的创建、挂起和唤醒过程。-Thread programming with MFC for example, the project consists of three threads, demonstrates thread creation, suspend and resume the process.
cktx
- 学习串口通信的好资料,内含有创建一个串口,打开串口,读取串口内容,关闭串口,还有多线程串口编程知识-Learning a good serial communication data contains create a serial port, open the serial port, serial port to read the contents, close the serial port, serial ports are multi-threaded programming know
xiancheng
- VC++6.0做的一个创建多线程并设置不同的优先级的小程序-VC++6.0 to do to create a multi-threaded and set the priority of different small procedures