ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÓÉÏ̻߳òÕß½ø³ÌÖ®¼äµÄͬ²½Ïëµ½µÄ

·¢²¼Ê±¼ä:2008-08-22 15:35:56À´Ô´:ºìÁª×÷Õß:zidscen
ÔÚÕâ¸öº¯ÊýÖÐËäÈ»´´½¨ÁËÁ½¸öÏ̲߳¢ÇÒµ÷ÓÃÁËÁ½´Î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¡¯¡±°´Å¥£¬Ìå»áʼþ¶ÔÏóµÄ×÷Óá£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ