diff options
Diffstat (limited to 'TAO/examples/RTScheduling/MIF_Scheduler/test.cpp')
-rw-r--r-- | TAO/examples/RTScheduling/MIF_Scheduler/test.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp b/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp index 612fc46bb0f..1fd1c748dc3 100644 --- a/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp +++ b/TAO/examples/RTScheduling/MIF_Scheduler/test.cpp @@ -24,7 +24,7 @@ public: #endif } - ~TestShutdown (void) + ~TestShutdown () { #if !defined(ACE_LACKS_UNIX_SIGNALS) this->shutdown_.remove_handler (SIGTERM); @@ -47,7 +47,7 @@ private: ACE_Sig_Handler shutdown_; }; -DT_Test::DT_Test (void) +DT_Test::DT_Test () { } @@ -118,15 +118,14 @@ DT_Test::dt_creator (MIF_DT_Creator* dt_creator) MIF_Scheduler* -DT_Test::scheduler (void) +DT_Test::scheduler () { return this->scheduler_.in (); } /* int -DT_Test::activate_task (void) +DT_Test::activate_task () { - long flags; flags = THR_NEW_LWP | THR_JOINABLE; flags |= @@ -145,12 +144,11 @@ long flags; } int -DT_Test::svc (void) +DT_Test::svc () { try { dt_creator_->create_distributable_threads (current_.in ()); - } catch (const CORBA::Exception& ex) { |