- Minor changes to DynamicProcess and DynamicSchedulable to reflect change in design
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@642 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
ec7c6a7c81
commit
8ca3a61730
4 changed files with 10 additions and 9 deletions
|
@ -36,8 +36,6 @@ DynamicProcess::DynamicProcess(const DynamicProcess &other) :
|
|||
{
|
||||
typedef vector<DynamicThread*>::iterator ThreadIt;
|
||||
|
||||
_static_process = other._static_process;
|
||||
|
||||
const vector<DynamicThread*>& other_threads = other._dynamic_threads;
|
||||
|
||||
// FIXME uncomment when DynamicThread is complete
|
||||
|
@ -71,9 +69,12 @@ DynamicProcess::remove_thread(Thread* thread)
|
|||
|
||||
//it = std::find(_dynamic_threads.begin(), _dynamic_threads.end(), thread);
|
||||
|
||||
//FIXME Do I need to deallocate the associated memory?
|
||||
//if(it != _dynamic_threads.end())
|
||||
// _dynamic_threads.erase(it);
|
||||
//{
|
||||
// _dynamic_threads.erase(it);
|
||||
// delete *it;
|
||||
//}
|
||||
//
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue