i am using the Proces Manager included in the SourceCode 2.3. I'm trying to build a loop consisting of processes.
The last process is linked to the first one:
proc_0->SetNext(proc_1);
proc_1->SetNext(proc_2);
proc_2->SetNext(proc_0);
If i run the programm, the code is processed only once.
The proc_0 destructor isn't called after completion of proc_0. Instead it is called after proc_2 has finished !?
it looks like this:
proc_0 - contructor
proc_0 - update
proc_0 - kill
proc_1 - contructor
proc_1 - update
proc_1 - kill
proc_1 - destructor
proc_2 - contructor
proc_2 - update
proc_2 - kill
proc_2 - destructor
proc_0 - destructor
does the dependency between proc_2 and proc_0 avoid deconstruction of the process?
Am i missing something or do i have to choose another way to loop processes?
The last process is linked to the first one:
proc_0->SetNext(proc_1);
proc_1->SetNext(proc_2);
proc_2->SetNext(proc_0);
If i run the programm, the code is processed only once.
The proc_0 destructor isn't called after completion of proc_0. Instead it is called after proc_2 has finished !?
it looks like this:
proc_0 - contructor
proc_0 - update
proc_0 - kill
proc_1 - contructor
proc_1 - update
proc_1 - kill
proc_1 - destructor
proc_2 - contructor
proc_2 - update
proc_2 - kill
proc_2 - destructor
proc_0 - destructor
does the dependency between proc_2 and proc_0 avoid deconstruction of the process?
Am i missing something or do i have to choose another way to loop processes?