一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间...
资 源 简 介
一般而言,应用程序中的一个次要线程总是为主线程执行特定的任务,这样,主线程和次要线程间必定有一个信息传递的渠道,也就是主线程和次要线程间要进行通信。这种线程间的通信不但是难以避免的,而且在多线程编程中也是复杂和频繁的,下面将进行说明。-Generally speaking, the application of a secondary thread is always the main thread to perform a specific task, so that main thread and secondary threads must have a channel for the transmission of information, which is the main thread and the secondary thread to communicate between. This inter-thread communication is not only inevitable, but also in multi-threaded programming is complex and frequent, the following description will be carried out.
文 件 列 表
MultiThread12
res
CalculateThread.cpp
CalculateThread.h
MultiThread7.cpp
MultiThread7.dsp
MultiThread7.dsw
MultiThread7.h
MultiThread7.rc
MultiThread7Dlg.cpp
MultiThread7Dlg.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h
MultiThread11
res
MultiThread8.cpp
MultiThread8.dsp
MultiThread8.dsw
MultiThread8.h
MultiThread8.rc
MultiThread8Dlg.cpp
MultiThread8Dlg.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h