- Give facelift to test_loader. Still to be finished.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@509 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
d462f6d1d3
commit
6a0bf4f444
11 changed files with 145 additions and 37 deletions
20
src/testsuite/python_loader_get_time_slice.py
Normal file
20
src/testsuite/python_loader_get_time_slice.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue