- Rename Policy to CPUPolicy where appropriate

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@811 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-02 21:57:36 +00:00
parent 5b577c5979
commit 43b817aaed
31 changed files with 222 additions and 225 deletions

View file

@ -20,7 +20,7 @@
#include "concrete_environment.hh"
#include "concrete_history.hh"
#include "policy.hh"
#include "cpu_policy.hh"
#include "scheduler.hh"
#include "user_interrupt_exception.hh"
@ -154,7 +154,7 @@ Scheduler::reset_status()
}
Policy*
CPUPolicy*
Scheduler::get_policy()
{
return _policy;
@ -162,7 +162,7 @@ Scheduler::get_policy()
bool
Scheduler::step_forward(History& history, Policy& cpu_policy) throw(UserInterruptException)
Scheduler::step_forward(History& history, CPUPolicy& cpu_policy) throw(UserInterruptException)
{
// This very method should be exclusive: no concurrent behaviour, from when we
// store a readyqueue and policy pointer for the user-policy to retrieve, to when