- Fixed a problem with test-pyloader, now it starts, but it segfaults in no time
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@790 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
0dd711657f
commit
5e40f9a8c1
|
@ -16,5 +16,10 @@ class python_loader_configure(Policy) :
|
|||
def get_time_slice(self):
|
||||
return -1
|
||||
|
||||
# FIXME incorrect, but must be implemented to allow
|
||||
# loading from the policy manager
|
||||
def wants(self):
|
||||
return 0
|
||||
|
||||
def sort_queue(self, queue):
|
||||
pass
|
||||
|
|
|
@ -17,5 +17,10 @@ class python_loader_get_time_slice(Policy) :
|
|||
pass
|
||||
return -1
|
||||
|
||||
# FIXME incorrect, but must be implemented to allow
|
||||
# loading from the policy manager
|
||||
def wants(self):
|
||||
return 0
|
||||
|
||||
def sort_queue(self, queue):
|
||||
pass
|
||||
|
|
|
@ -17,5 +17,10 @@ class python_loader_is_preemptive(Policy) :
|
|||
def get_time_slice(self):
|
||||
return -1
|
||||
|
||||
# FIXME incorrect, but must be implemented to allow
|
||||
# loading from the policy manager
|
||||
def wants(self):
|
||||
return 0
|
||||
|
||||
def sort_queue(self, queue):
|
||||
pass
|
||||
|
|
|
@ -14,6 +14,13 @@ class python_loader_sort_queue(Policy) :
|
|||
def get_time_slice(self):
|
||||
return -1
|
||||
|
||||
|
||||
# FIXME incorrect, but must be implemented to allow
|
||||
# loading from the policy manager
|
||||
def wants(self):
|
||||
return 0
|
||||
|
||||
|
||||
def sort_queue(self, queue):
|
||||
print "[II] Entering willingly an endless loop."
|
||||
while True:
|
||||
|
|
Loading…
Reference in New Issue