- Try to make CPUPolicy.get_parameters() and RR-Priority work. Won't

run.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@833 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-09 13:37:42 +00:00
parent addad6aa26
commit 72e562e803
8 changed files with 38 additions and 52 deletions

View file

@ -86,6 +86,25 @@ PythonCPUPolicy::~PythonCPUPolicy()
if(_upolicy_dict) Py_DECREF(_upolicy_dict);
}
void
PythonCPUPolicy::activate()
{
// FIXME write the rest, taking away code from constructor
configure();
}
void
PythonCPUPolicy::deactivate()
{
// FIXME See if some code has to be moved here from the
// destructor, AFTER having written activate()
_parameters.clear();
}
void
PythonCPUPolicy::configure() throw(UserInterruptException)