From 5dddd9b488ade639cee814872b5c47413abf6f4b Mon Sep 17 00:00:00 2001 From: tchernobog Date: Fri, 24 Feb 2006 10:39:40 +0000 Subject: [PATCH] - I don't remember exactly what I did. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@434 3ecf2c5c-341e-0410-92b4-d18e462d057c --- Makefile.am | 3 --- src/backend/pyloader/Policy.py | 2 -- src/builtin-policies/fcfs.py | 3 +-- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 15af739..bcd0aff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -324,17 +324,14 @@ src_testsuite_test_python_loader_CPPFLAGS = \ -DMODDIR="\"$(moddir)\"" \ $(PYTHON_CPPFLAGS) \ $(GLIBMM_CFLAGS) \ - $(GTKMM_CFLAGS) \ $(GTHREAD_CFLAGS) src_testsuite_test_python_loader_LDFLAGS = \ src/backend/pyloader/libpyloader.la \ $(GTKMM_LIBS) $(GTHREAD_LIBS) src_testsuite_test_python_loader_SOURCES = \ src/testsuite/test-python_loader.cc \ - src/start_gui.cc \ src/standard_io.cc \ src/text_simulation.cc \ src/observer.cc \ - src/graphical_terminal_io.cc \ src/simulation.cc diff --git a/src/backend/pyloader/Policy.py b/src/backend/pyloader/Policy.py index b041828..9cbf38f 100644 --- a/src/backend/pyloader/Policy.py +++ b/src/backend/pyloader/Policy.py @@ -19,8 +19,6 @@ class Policy: # For example, it may make the return value of is_preemptive configurable, # or register an integer value for a the time slice duration. # - # @warning How do the user accesses get_parameters()? - # # Should be implemented with signature: # @code # def configure(self): diff --git a/src/builtin-policies/fcfs.py b/src/builtin-policies/fcfs.py index 250f6e4..175e4c4 100644 --- a/src/builtin-policies/fcfs.py +++ b/src/builtin-policies/fcfs.py @@ -18,5 +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)