- Completed test-history. I still have some doubts about some points, but I think the current implementation is already a pretty intensive test...

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@779 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-07-18 23:39:33 +00:00
parent 14b5b66b3c
commit a92b542081
4 changed files with 374 additions and 77 deletions

View file

@ -58,6 +58,12 @@ DynamicProcess::get_threads()
return vector<Thread*>(_dynamic_threads.begin(), _dynamic_threads.end());
}
std::vector<const Thread*>
DynamicProcess::get_threads() const
{
return vector<const Thread*>(_dynamic_threads.begin(), _dynamic_threads.end());
}
Schedulable::state
DynamicProcess::get_state() const
{

View file

@ -48,6 +48,7 @@ namespace sgpem
virtual ~DynamicProcess();
std::vector<Thread*> get_threads();
std::vector<const Thread*> get_threads() const;
state get_state() const;

View file

@ -39,6 +39,7 @@ namespace sgpem
virtual ~Process();
virtual std::vector<Thread*> get_threads() = 0;
virtual std::vector<const Thread*> get_threads() const = 0;
virtual void serialize(SerializeVisitor& translator) const = 0;
};