- 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:
parent
addad6aa26
commit
72e562e803
8 changed files with 38 additions and 52 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue