diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp index 181011de6f0..f1cf3ca6cd0 100644 --- a/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp +++ b/TAO/orbsvcs/orbsvcs/Runtime_Scheduler.cpp @@ -295,3 +295,20 @@ ACE_Runtime_Scheduler::last_scheduled_priority (ACE_ENV_SINGLE_ARG_DECL) else return (RtecScheduler::Preemption_Priority_t) (config_count_ - 1); } + + +void +ACE_Runtime_Scheduler::get_config_infos (RtecScheduler::Config_Info_Set_out configs + ACE_ENV_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException, + RtecScheduler::NOT_SCHEDULED)) +{ + // throw an exception if a valid schedule has not been loaded + if (config_count_ <= 0) + ACE_THROW_RETURN (RtecScheduler::NOT_SCHEDULED(), + (RtecScheduler::Preemption_Priority_t) -1); + //TODO: fill the Config_Info_Set with the runtime Config_Infos + //for now, this function is unimplemented + return; +} + |