diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h b/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h index 533b6272b1f..5d4d8015ada 100644 --- a/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h +++ b/TAO/orbsvcs/orbsvcs/Sched/Config_Scheduler.h @@ -36,15 +36,15 @@ public: virtual RtecScheduler::handle_t create (const char * entry_point, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::DUPLICATE_NAME)); + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::DUPLICATE_NAME)); virtual RtecScheduler::handle_t lookup (const char * entry_point, CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException)); + TAO_THROW_SPEC((CORBA::SystemException)); virtual RtecScheduler::RT_Info* get (RtecScheduler::handle_t handle, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); virtual void set (RtecScheduler::handle_t handle, RtecScheduler::Criticality_t criticality, @@ -57,14 +57,14 @@ public: CORBA::Long threads, RtecScheduler::Info_Type_t info_type, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); virtual void priority (RtecScheduler::handle_t handle, RtecScheduler::OS_Priority& priority, RtecScheduler::Preemption_Subpriority_t& p_subpriority, RtecScheduler::Preemption_Priority_t& p_priority, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK, RtecScheduler::NOT_SCHEDULED)); @@ -73,7 +73,7 @@ public: RtecScheduler::Preemption_Subpriority_t& p_subpriority, RtecScheduler::Preemption_Priority_t& p_priority, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK, RtecScheduler::NOT_SCHEDULED)); @@ -82,7 +82,7 @@ public: CORBA::Long number_of_calls, RtecScheduler::Dependency_Type_t dependency_type, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::UNKNOWN_TASK)); virtual void compute_scheduling (CORBA::Long minimum_priority, @@ -91,7 +91,7 @@ public: RtecScheduler::Config_Info_Set_out configs, RtecScheduler::Scheduling_Anomaly_Set_out anomalies, CORBA::Environment &_env) - ACE_THROW_SPEC((CORBA::SystemException, + TAO_THROW_SPEC((CORBA::SystemException, RtecScheduler::UTILIZATION_BOUND_EXCEEDED, RtecScheduler::INSUFFICIENT_THREAD_PRIORITY_LEVELS, RtecScheduler::TASK_COUNT_MISMATCH)); @@ -100,21 +100,18 @@ public: RtecScheduler::OS_Priority& priority, RtecScheduler::Dispatching_Type_t & d_type, CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::NOT_SCHEDULED, RtecScheduler::UNKNOWN_PRIORITY_LEVEL)); // provide the thread priority and queue type for the given priority level - virtual RtecScheduler::Preemption_Priority_t - last_scheduled_priority (CORBA::Environment &_env) - ACE_THROW_SPEC ((CORBA::SystemException, + virtual RtecScheduler::Preemption_Priority_t last_scheduled_priority (CORBA::Environment &_env) + TAO_THROW_SPEC ((CORBA::SystemException, RtecScheduler::NOT_SCHEDULED)); - // Returns the last priority number assigned to an operation in the - // schedule. - // The number returned is one less than the total number of - // scheduled priorities. - // All scheduled priorities range from 0 to the number returned, - // inclusive. + // Returns the last priority number assigned to an operation in the schedule. + // The number returned is one less than the total number of scheduled priorities. + // All scheduled priorities range from 0 to the number returned, inclusive. + private: |