예제 #1
0
 /**
  * Triggers a redraw.
  */
 void TriggerRedraw() {
   trigger.Signal();
 }
예제 #2
0
 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();
 }