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

22 lines
407 B
Python
Raw Normal View History

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, event, queue):
pass