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