示例#1
0
 /**
  * Triggers a redraw.
  */
 void TriggerRedraw() {
   trigger.Signal();
 }
 void Cancel() {
   cancelled.Signal();
 }
示例#3
0
 /**
  * Triggers thread shutdown.  Call Thread::Join() after this to wait
  * synchronously for the thread to exit.
  */
 void BeginStop() {
   stop_trigger.Signal();
 }