diff options
Diffstat (limited to 'ace/Asynch_Pseudo_Task.cpp')
-rw-r--r-- | ace/Asynch_Pseudo_Task.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/ace/Asynch_Pseudo_Task.cpp b/ace/Asynch_Pseudo_Task.cpp index b3e25ef0298..ce936471e52 100644 --- a/ace/Asynch_Pseudo_Task.cpp +++ b/ace/Asynch_Pseudo_Task.cpp @@ -7,8 +7,6 @@ ACE_RCSID(ace, Asynch_Pseudo_Task, "$Id$") -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - ACE_Asynch_Pseudo_Task::ACE_Asynch_Pseudo_Task() : select_reactor_ (), // should be initialized before reactor_ reactor_ (&select_reactor_, 0) // don't delete implementation @@ -20,7 +18,7 @@ ACE_Asynch_Pseudo_Task::~ACE_Asynch_Pseudo_Task() this->stop(); } -int +int ACE_Asynch_Pseudo_Task::start (void) { if (this->reactor_.initialized () == 0) @@ -32,10 +30,10 @@ ACE_Asynch_Pseudo_Task::start (void) return this->activate () == -1 ? -1 : 0; // If started, return 0 } -int +int ACE_Asynch_Pseudo_Task::stop (void) { - if (this->thr_count () == 0) // already stopped + if (this->thr_count () == 0) // already stopped return 0; if (this->reactor_.end_reactor_event_loop () == -1) @@ -49,7 +47,7 @@ ACE_Asynch_Pseudo_Task::stop (void) int ACE_Asynch_Pseudo_Task::svc (void) { -#if !defined (ACE_WIN32) +#if !defined (ACE_WIN32) sigset_t RT_signals; @@ -94,7 +92,7 @@ ACE_Asynch_Pseudo_Task::register_io_handler (ACE_HANDLE handle, ACE_LIB_TEXT ("register_io_handler (suspended)"))); this->reactor_.remove_handler (handle, ACE_Event_Handler::ALL_EVENTS_MASK - | ACE_Event_Handler::DONT_CALL); + | ACE_Event_Handler::DONT_CALL); return -1; } @@ -128,5 +126,3 @@ ACE_Asynch_Pseudo_Task::resume_io_handler (ACE_HANDLE handle) { return this->reactor_.resume_handler (handle); } - -ACE_END_VERSIONED_NAMESPACE_DECL |