- 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:
elvez 2006-07-21 23:41:06 +00:00
parent 0dd711657f
commit 5e40f9a8c1
4 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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: