摘要: //包含头文件#inlcludestruct prodata {CThreadDlg *P ;};prodata m_Prodata;CEvent g_evet;//事件CMutex g_mutex;//互斥量CSemaphore g_cSHE(2,2);//信号量;CCriticalSection g_criSection; //定义临界区变量static int nCount = 0;//公共变量UINT Thread1( LPVOID lparam );//事件UINT Thread2( LPVOID lparam );//事件UINT Thread3( LPVOID lparam ); 阅读全文
posted @ 2013-09-25 23:37 友琼 阅读(345) 评论(0) 推荐(0) 编辑