121122123124125126127128129130131
// start threads -- both are waiting to be triggered ct.start(); mt.start(); // trigger for action ct.trigger(); mt.trigger(); // wait for threads to terminate ct.join(); mt.join();
190191192193194195196197198199200
187188189190191192193194195196197