示例#1
0
文件: main.cpp 项目: Deco/SEP-CTs
 ~ThermalScannerApp()
 {
   if(1) {
     sf::Lock isRunningMutexLock(isRunningMutex);
     isRunning = false;
   }
   scannerThread.wait();
   httpdThread.wait();
   wsdThread.terminate();
 }
示例#2
0
		/// Terminates the thread BUT without any warranty
		/// about the state of work data
		void terminate()
		{
			m_thread.terminate();
			m_isRunning = false;
		}