sgpemv2/plugins/pyloader/testsuite/python_loader_is_preemptive.py
tchernobog 51f0d7fbe7 - Merged branch 0.3-r556--SPLIT_PYLOADER_CONFIG back into trunk
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@561 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-06 19:01:13 +00:00

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