- Correct method names for the Python policy (design problem?) - Compiles, but can't run it on this machine. I'll test it later (and I expect quite a lot of SIGSEGVs). git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@382 3ecf2c5c-341e-0410-92b4-d18e462d057c
11 lines
327 B
Python
11 lines
327 B
Python
from Abstract import *
|
|
|
|
class Policy:
|
|
## @var Avoid instantiation of an abstract class
|
|
__metaclass__ = Metaclass
|
|
|
|
configure = AbstractMethod('configure')
|
|
sort_queue = AbstractMethod('sort_queue')
|
|
is_preemptive = AbstractMethod('is_preemptive')
|
|
get_time_slice = AbstractMethod('get_time_slice')
|
|
|