Public Member Functions | |
ReactorTask () | |
int | svc () |
void | wait_for_startup () |
Private Attributes | |
ACE_Barrier | barrier_ |
Definition at line 431 of file Service_Participant.h.
OpenDDS::DCPS::Service_Participant::ReactorTask::ReactorTask | ( | ) | [inline] |
int OpenDDS::DCPS::Service_Participant::ReactorTask::svc | ( | ) |
Definition at line 223 of file Service_Participant.cpp.
References OpenDDS::DCPS::Service_Participant::instance(), OpenDDS::DCPS::Service_Participant::reactor_, OpenDDS::DCPS::Service_Participant::reactor_owner_, and wait_for_startup().
00224 { 00225 Service_Participant* sp = instance(); 00226 sp->reactor_->owner(ACE_Thread_Manager::instance()->thr_self()); 00227 sp->reactor_owner_ = ACE_Thread_Manager::instance()->thr_self(); 00228 this->wait_for_startup(); 00229 sp->reactor_->run_reactor_event_loop(); 00230 return 0; 00231 }
void OpenDDS::DCPS::Service_Participant::ReactorTask::wait_for_startup | ( | ) | [inline] |
Definition at line 436 of file Service_Participant.h.
Referenced by OpenDDS::DCPS::Service_Participant::get_domain_participant_factory(), and svc().
00436 { barrier_.wait(); }
ACE_Barrier OpenDDS::DCPS::Service_Participant::ReactorTask::barrier_ [private] |
Definition at line 438 of file Service_Participant.h.