Beispiel #1
0
 /** Interrupt and exit loops */
 void Interrupt()
 {
     boost::unique_lock<boost::mutex> lock(cs);
     running = false;
     cond.notify_all();
 }