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