diff options
Diffstat (limited to 'TAO/orbsvcs/Notify_Service/Notify_Service.cpp')
-rw-r--r-- | TAO/orbsvcs/Notify_Service/Notify_Service.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp index 2dcf4b70e0f..5930f8a096c 100644 --- a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp +++ b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp @@ -108,8 +108,11 @@ TAO_Notify_Service_Driver::init (int argc, ACE_TCHAR *argv[] THR_JOINABLE | this->orb_->orb_core ()->orb_params ()->thread_creation_flags (); + int priority = ACE_Sched_Params::priority_min (this->orb_->orb_core ()->orb_params ()->sched_policy () + , this->orb_->orb_core ()->orb_params ()->scope_policy ()); + if (worker_.activate (flags, - this->nthreads_) != 0) + this->nthreads_, 0, priority) != 0) ACE_ERROR_RETURN ((LM_ERROR, "Cannot activate client threads\n"), -1); } |