1 #include "Controller.h"
3 Controller::Controller ()
10 Controller::dump_results ()
12 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
13 if (this->start_count_
!= this->finish_count_
)
16 "ERROR - mismatched count! (%d,%d)\n",
17 this->start_count_
, this->finish_count_
));
22 Controller::worker_started ()
24 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
27 // ACE_DEBUG ((LM_DEBUG, "Received worker start report\n"));
31 Controller::worker_finished ()
33 ACE_GUARD (TAO_SYNCH_MUTEX
, ace_mon
, this->mutex_
);
34 this->finish_count_
++;
36 // ACE_DEBUG ((LM_DEBUG, "Received worker completion report\n"));