ÔÚÕâ¸öº¯ÊýÖÐËäÈ»´´½¨ÁËÁ½¸öÏ̲߳¢ÇÒµ÷ÓÃÁËÁ½´ÎpWriteW->ResumeThread()£¬µ«ÊDz¢²»»áÔÚµ÷ÓõÚÒ»¸öpWriteW->ResumeThread()µÄʱºò¾ÍÁ¢¿ÌÈ¥Ö´ÐеÚÒ»¸öỊ̈߳¬ÒòΪ´´½¨Ï̵߳ÄÏ̱߳¾ÉíÒ²ÊÇÒ»¸öỊ̈߳¬ÔÚͬµÈÓÅÏȼ¶Çé¿öÏÂÖ»ÓÐÔÚ´´½¨Ï̵߳ĺ¯ÊýÖ´ÐÐÍê±ÏÖ®ºó²ÅÓпÉÄÜÈòÙ×÷ϵͳȥµ÷¶ÈÆäËüỊ̈߳¬¾ÍºÍlinuxÖд´½¨½ø³ÌµÄmianº¯ÊýÒ»Ñù£¬ËäÈ»´´½¨¶à¸öÓÅÏȼ¶±ðÏàͬµÄ½ø³Ì£¬µ«ÊÇÇé¿öͬÉÏ
void CMultiThread9Dlg::OnWritew() { CWinThread *pWriteW=AfxBeginThread(WriteW, &m_ctrlW, THREAD_PRIORITY_NORMAL, 0, CREATE_SUSPENDED); pWriteW->ResumeThread(); CWinThread *pWriteD=AfxBeginThread(WriteD, &m_ctrlD, THREAD_PRIORITY_NORMAL, 0, CREATE_SUSPENDED); pWriteD->ResumeThread(); }
±àÒë²¢ÔËÐгÌÐò£¬µ¥»÷¡°Ð´¡®W¡¯¡±°´Å¥£¬Ìå»áʼþ¶ÔÏóµÄ×÷Óá£