sgpemv2/plugins/pyloader/testsuite/python_loader_get_time_slic...

22 lines
400 B
Python

from Policy import Policy
import sys
class python_loader_get_time_slice(Policy) :
def __init__(self):
pass
def configure(self):
pass
def is_preemptive(self):
return False
def get_time_slice(self):
print "[II] Entering willingly an endless loop."
while True:
pass
return -1
def sort_queue(self, queue):
pass