diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp b/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp index 4d5cfdd4623..b81bc443a06 100644 --- a/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp +++ b/TAO/orbsvcs/orbsvcs/Sched/Scheduler_Generic.cpp @@ -23,6 +23,8 @@ ACE_RCSID(Sched, Scheduler_Generic, "$Id$") +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // static functions @@ -214,11 +216,9 @@ Scheduler_Generic::init (const int minimum_priority, Scheduler::status_t -Scheduler_Generic::schedule (ACE_Unbounded_Set<Scheduling_Anomaly *> - &anomaly_set) +Scheduler_Generic::schedule (ACE_Unbounded_Set<Scheduling_Anomaly *> & + /* anomaly_set */) { - ACE_UNUSED_ARG (anomaly_set); - ACE_GUARD_RETURN (LOCK, ace_mon, lock_, ACE_Scheduler::FAILED); // here goes . . . @@ -240,15 +240,12 @@ Scheduler_Generic::schedule (ACE_Unbounded_Set<Scheduling_Anomaly *> int -Scheduler_Generic::priority (const handle_t handle, +Scheduler_Generic::priority (const handle_t /* handle */, OS_Thread_Priority &priority, Sub_Priority &subpriority, Preemption_Priority &preemption_prio, - const mode_t requested_mode) const + const mode_t /* requested_mode */) const { - ACE_UNUSED_ARG (handle); - ACE_UNUSED_ARG (requested_mode); - priority = minimum_priority_; subpriority = ACE_Scheduler_MIN_SUB_PRIORITY; preemption_prio = ACE_Scheduler_MAX_PREEMPTION_PRIORITY; @@ -268,3 +265,5 @@ void Scheduler_Generic::print_schedule () { } + +TAO_END_VERSIONED_NAMESPACE_DECL |