- Add SJF
- Re-enable FCFS sorting function - Correct bug in PythonPolicy that wronged return value of is_pre_emptible() git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@435 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
5dddd9b488
commit
7ce8cf93c3
5 changed files with 27 additions and 3 deletions
|
@ -18,4 +18,4 @@ class fcfs(Policy) :
|
|||
cmpf = lambda a, b: \
|
||||
a.get_schedulable().get_arrival_time() < \
|
||||
b.get_schedulable().get_arrival_time()
|
||||
#self.sort(queue,cmpf)
|
||||
self.sort(queue,cmpf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue