Commit Graph

129 Commits

Author SHA1 Message Date
tchernobog 6152a06268 - Another typo, for a change
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@720 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 23:18:39 +00:00
tchernobog 3f024be712 - Fix typo, but not compilation
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@719 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 23:17:29 +00:00
tchernobog fcc9e93827 - Let the user disable the new GCC 4.0 visibility support
from configure. This is mainly there for buggy compilers / binutils.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@715 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 22:17:02 +00:00
tchernobog 4108b39c09 - Fix datarootdir for autoconf 2.60
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@713 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 20:28:40 +00:00
elvez 401c569a9f - Updated interface of pyloader to comply with the new plugin management system`s requirements
- Commented a lot of code to make it compile-able. But still it doesn`t link (at least for me...)

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@710 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 15:05:04 +00:00
tchernobog a378239d60 - Only schedule Threads. Ditch support for Policies deciding
if they want to schedule Threads or Processes altogether
- Move setter methods for last_acquisition/last_release from
DynamicSchedulable to DynamicThread
- Rewrite aforesaid methods, along with the respective getter
methods, into Dynamic(Thread|Process)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@708 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-04 10:46:15 +00:00
tchernobog 759b90b017 - Substitute the old SchedulableQueue with the new ReadyQueue
- Add interfaces for Process and Thread into the "sgpem.i" SWIG
interface file, change DynamicSchedulable into Schedulable
- Add dynamic_cast for the return value of ReadyQueue::get_item_at()
into the pyloader "sgpem.i" SWIG interface, so that a Schedulable
can be either recognized as a Thread or a Process
- TODO: wrap STL exceptions in SWIG interface
- Please note that code won't compile until the new History and
Scheduler::step_forward() will be in place. This is a known issue.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@689 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-07-02 13:51:03 +00:00
tchernobog 6b27a8461b - Pretty-indenting code
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@674 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-29 08:44:30 +00:00
tchernobog 66d46db357 - Separate template definition from template declaration
- Explicitly instantiate Singleton templates to be exported from libbackend.so
- Install only header files that are backend interfaces to be exposed to the user
- Don't use full path for including templates in header files
- Instantiate a couple of smart_ptr templates to have their symbols exported outside the DSO. This happens in history.cc. FIXME: the interface for History will definitely need to be reworked, and the two smart_ptr explicit instantiations removed.
- Change SWIG exported interface to make use of Schedulable instead of (Dynamic|Static)Schedulable
- Fix provided policies to make use of the new interface
- TODO: limit the use of smart_ptrs.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@653 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-23 13:06:39 +00:00
tchernobog 383889a203 - Add unified Singleton support
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@643 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-21 09:09:50 +00:00
elvez 30d070a420 - Added SETPOLICY and LISTPOLICIES commands to text-based interface
- Fixed a bug preventing registration of managers in PoliciesGatekeeper

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@634 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-15 20:07:03 +00:00
elvez a1662de194 - Added the Schedulable interface
- Renamed SchedulableStatus to DynamicSchedulable
- Implemented almost all methods of DynamicSchedulable

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@630 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 16:37:57 +00:00
tchernobog 94c0b563c7 - Oh, well. I wasn't so good ;-) This fixes compilation. Now xmlsave is ready to be
implemented. Enjoy it, while it lasts. :-D


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@629 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 15:34:24 +00:00
tchernobog 4f9a12003a - Initial commit laying out skel for new xmlsave plugin.
Another commit fixing arising errors _could_ follow (but maybe not,
if I've been good enough ;-)).


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@628 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 15:09:13 +00:00
elvez 1f7972c308 - Renamed Schedulable to StaticSchedulable
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@626 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-13 13:55:47 +00:00
elvez 1706119e4d - Renamed GlobalSettings to GlobalPreferences
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@621 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-12 14:04:06 +00:00
elvez 65ed285807 - Implemented PythonPolicyManager::collect_policies()
- Integrated PythonPolicyManager with PoliciesGatekeeper

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@620 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-12 13:16:10 +00:00
elvez c5d78f3547 - updated PoliciesGatekeeper to reflect change in design, it is still not usable at this time
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@616 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-10 15:44:42 +00:00
elvez 1e75fe91f1 - Added Policy::wants() and updated related code. Scheduler::get_ready_queue() still always returns a process queue...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@615 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-09 16:51:53 +00:00
tchernobog fbe718b69a - Reorder pyloader plugin a little so that sources go in a separate
directory


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@605 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 23:24:59 +00:00
elvez da39407173 - removed Scheduler-initiated events
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@604 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 15:51:38 +00:00
elvez 8062dd95da - Completed renaming of class SchedulableList to SchedulableQueue
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@603 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 15:19:13 +00:00
elvez 4508ed017b -changing SchedulableList to SchedulableQueue: intermediate commit,
so SVN can let me use "mv"

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@602 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-06-03 14:40:19 +00:00
tchernobog 16acaf51d9 - Add summary of catched expression for easier output parsing from Dejagnu
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@595 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-05-31 08:28:08 +00:00
tchernobog e3724108c0 - Change alive references for pyobjects
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@581 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-05-14 15:35:27 +00:00
tchernobog 4ca52deb1b - Update macro with changes from Alan W. Irwin. Thanks, Alan!
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@579 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-05-14 14:33:01 +00:00
elvez 88831f468a - Fixed another bug with interpreter reinizialization. See bug #16
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@568 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-05-05 11:21:30 +00:00
tchernobog 2bbfdca142 - Make sure pyloader doesn't try to look outside its sandbox
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@564 3ecf2c5c-341e-0410-92b4-d18e462d057c
2006-04-07 20:14:04 +00:00
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