MFC创建线程(工作线程和界面线程)
线程分工作线程和界面线程 ,MFC对线程的封装是由CWinThread类实现的。一.工作线程的创建:CWinThread* pThread =AfxBeginThread(WorkThreadFunction,this,THREAD_PRIORITY_NORMAL,0,CREATE_SUSPENDED,NULL); ///// 其中WorkThreadFu