21 lines
350 B
Python
21 lines
350 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):
|
|
while True:
|
|
pass
|
|
return -1
|
|
|
|
def sort_queue(self, event, queue):
|
|
pass
|