SetSoftElemMonitorRunning = false;
QObject::disconnect(this, SIGNAL(ShowData(unsigned char*, int, QString)), this, SLOT(ShowDataSlot(unsigned char*, int, QString)));
WaitForSingleObject(m_hTreadMonitor, INFINITE);
TerminateThread(m_hTreadMonitor, 0);
if (m_hTreadMonitor!=NULL)
{
CloseHandle(m_hTreadMonitor);
}
m_hTreadMonitor = NULL;
关闭线程
猜你喜欢
转载自www.cnblogs.com/ShiShouTHS/p/11365391.html
今日推荐
周排行