Introduction - If you have any usage issues, please Google them yourself
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.
Packet : 39709554multitreadsrc1112.rar filelist
MultiThread11\MultiThread8.cpp
MultiThread11\MultiThread8.dsp
MultiThread11\MultiThread8.dsw
MultiThread11\MultiThread8.h
MultiThread11\MultiThread8.rc
MultiThread11\MultiThread8Dlg.cpp
MultiThread11\MultiThread8Dlg.h
MultiThread11\ReadMe.txt
MultiThread11\res\MultiThread8.ico
MultiThread11\res\MultiThread8.rc2
MultiThread11\Resource.h
MultiThread11\StdAfx.cpp
MultiThread11\StdAfx.h
MultiThread12\CalculateThread.cpp
MultiThread12\CalculateThread.h
MultiThread12\MultiThread7.cpp
MultiThread12\MultiThread7.dsp
MultiThread12\MultiThread7.dsw
MultiThread12\MultiThread7.h
MultiThread12\MultiThread7.rc
MultiThread12\MultiThread7Dlg.cpp
MultiThread12\MultiThread7Dlg.h
MultiThread12\ReadMe.txt
MultiThread12\res\MultiThread7.ico
MultiThread12\res\MultiThread7.rc2
MultiThread12\Resource.h
MultiThread12\StdAfx.cpp
MultiThread12\StdAfx.h
MultiThread11\res
MultiThread12\res
MultiThread11
MultiThread12