Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Client_Leaks / Startup_Callback.cpp
blob7056173d188dac7a39594d795e771ac9061d9497
1 #include "Startup_Callback.h"
3 Startup_Callback::Startup_Callback (void)
7 int
8 Startup_Callback::process_has_started (Test::Process_out the_process)
10 ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, ace_mon, this->mutex_, 0);
11 if (!CORBA::is_nil (this->process_.in ()))
13 the_process = Test::Process::_duplicate (this->process_.in ());
14 return 1;
16 return 0;
19 void
20 Startup_Callback::started (Test::Process_ptr process)
22 ACE_GUARD (TAO_SYNCH_MUTEX, ace_mon, this->mutex_);
23 this->process_ = Test::Process::_duplicate (process);