摘要: 1 UINT CNrcServer::Run(LPVOID pParam) { //通过丝程传入当前类的地址 2 CNrcServer* pNrcServer = (CNrcServer*)pParam; 3 while(1) { //获取当前系统时间 4 DWORD currentTime = GetTickCount(); /* m_dwLastPlayingTime 是在一个网络正常运行线程函数中定义的变量 m_dwLastPlayingTime = GetTickCount();*/ 5 signed in... 阅读全文
posted @ 2013-07-09 11:37 stay hungry! 阅读(157) 评论(0) 推荐(0)
摘要: UINT CNrcServer::Run(LPVOID pParam) { //通过丝程传入当前类的地址 CNrcServer* pNrcServer = (CNrcServer*)pParam; while(1) { //获取当前系统时间 DWORD currentTime = GetTickCount(); m_dwLastPlayingTime 是在一个网络正常运行线程函数中定义的变量 signed int intervalTime = currentTime - pNrcServer->m_dwLastPlayingTime; ... 阅读全文
posted @ 2013-07-09 11:34 stay hungry! 阅读(79) 评论(0) 推荐(0)