Public Member Functions | |
ReactorTask () | |
int | svc () |
void | wait_for_startup () |
Private Attributes | |
ACE_Barrier | barrier_ |
Definition at line 446 of file Service_Participant.h.
OpenDDS::DCPS::Service_Participant::ReactorTask::ReactorTask | ( | ) | [inline] |
Definition at line 447 of file Service_Participant.h.
00448 : barrier_(2) 00449 { }
int OpenDDS::DCPS::Service_Participant::ReactorTask::svc | ( | void | ) | [virtual] |
Reimplemented from ACE_Task_Base.
Definition at line 223 of file Service_Participant.cpp.
References ACE_Thread_Manager::instance(), OpenDDS::DCPS::Service_Participant::instance(), OpenDDS::DCPS::Service_Participant::reactor_, OpenDDS::DCPS::Service_Participant::reactor_owner_, thr_self(), 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 451 of file Service_Participant.h.
Referenced by OpenDDS::DCPS::Service_Participant::get_domain_participant_factory(), and svc().
Definition at line 453 of file Service_Participant.h.