Description: Processes and threads, including using the Win32 API to create, destroy the threads- to control the progress bar, create an MFC user interface thread, create an MFC worker threads, time-consuming calculations, set the thread priority, use the global structure of the communication between threads, the use ofcustom message for communication between threads, use the event object for communication between threads.
To Search:
File list (Check if you may need any files):
第11章 进程与线程
.................\实例257——使用Win32 API创建、销毁线程——控制进度条
.................\....................................................\CreateThread
.................\....................................................\............\Ch13Demo2.ncb
.................\....................................................\............\Ch13Demo2.opt
.................\....................................................\............\CreateThread.aps
.................\....................................................\............\CreateThread.clw
.................\....................................................\............\CreateThread.cpp
.................\....................................................\............\CreateThread.dsp
.................\....................................................\............\CreateThread.dsw
.................\....................................................\............\CreateThread.h
.................\....................................................\............\CreateThread.ncb
.................\....................................................\............\CreateThread.opt
.................\....................................................\............\CreateThread.plg
.................\....................................................\............\CreateThread.rc
.................\....................................................\............\CreateThreadDLG.cpp
.................\....................................................\............\CreateThreadDLG.h
.................\....................................................\............\Debug
.................\....................................................\............\.....\CreateThread.exe
.................\....................................................\............\ReadMe.txt
.................\....................................................\............\res
.................\....................................................\............\Resource.h
.................\....................................................\............\res\CreateThread.ico
.................\....................................................\............\...\CreateThread.rc2
.................\....................................................\............\StdAfx.cpp
.................\....................................................\............\StdAfx.h
.................\实例258——创建MFC用户界面线程
.................\..............................\UIThreadDemo
.................\..............................\............\Debug
.................\..............................\............\.....\UIThreadDemo.exe
.................\..............................\............\MainFrm.cpp
.................\..............................\............\MainFrm.h
.................\..............................\............\ReadMe.txt
.................\..............................\............\res
.................\..............................\............\Resource.h
.................\..............................\............\res\Toolbar.bmp
.................\..............................\............\...\UIThreadDemo.ico
.................\..............................\............\...\UIThreadDemo.rc2
.................\..............................\............\...\UIThreadDemoDOC.ico
.................\..............................\............\StdAfx.cpp
.................\..............................\............\StdAfx.h
.................\..............................\............\UIDlg.cpp
.................\..............................\............\UIDlg.h
.................\..............................\............\UIThread.cpp
.................\..............................\............\UIThread.h
.................\..............................\............\UIThreadDemo.aps
.................\..............................\............\UIThreadDemo.clw
.................\..............................\............\UIThreadDemo.cpp
.................\