文件名称:MutilThread8
介绍说明--下载内容均来自于网络,请自行研究使用
基于VC++的多线程实例,该例程演示了如何使用自定义消息进行线程间通信。首先,主线程向CCalculateThread线程发送消息WM_CALCULATE,CCalculateThread线程收到消息后进行计算,再向主线程发送WM_DISPLAY消息,主线程收到该消息后显示计算结果。 -Examples VC++ based multithreading, which is routine demonstrates how to use a custom message for inter-thread communication. First, the main thread sends a message to CCalculateThread thread WM_CALCULATE, CCalculateThread thread after receiving the message computing, the main thread sends WM_DISPLAY message again displays the results after the main thread receives the message.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MutilThread8\CalculateThread.cpp
............\CalculateThread.h
............\Debug\CalculateThread.obj
............\.....\CalculateThread.sbr
............\.....\MutilThread8.bsc
............\.....\MutilThread8.exe
............\.....\MutilThread8.ilk
............\.....\MutilThread8.obj
............\.....\MutilThread8.pch
............\.....\MutilThread8.pdb
............\.....\MutilThread8.res
............\.....\MutilThread8.sbr
............\.....\MutilThread8Dlg.obj
............\.....\MutilThread8Dlg.sbr
............\.....\StdAfx.obj
............\.....\StdAfx.sbr
............\.....\vc60.idb
............\.....\vc60.pdb
............\MutilThread8.aps
............\MutilThread8.clw
............\MutilThread8.cpp
............\MutilThread8.dsp
............\MutilThread8.dsw
............\MutilThread8.h
............\MutilThread8.ncb
............\MutilThread8.opt
............\MutilThread8.plg
............\MutilThread8.rc
............\MutilThread8Dlg.cpp
............\MutilThread8Dlg.h
............\ReadMe.txt
............\res\MutilThread8.ico
............\...\MutilThread8.rc2
............\resource.h
............\StdAfx.cpp
............\StdAfx.h
............\Debug
............\res
MutilThread8