public class ForkExecutor
extends java.lang.Object
Constructor and Description |
---|
ForkExecutor(SimuComSimProcess parent,
ForkedBehaviourProcess[] forks)
Initialise the barrier with the forks to spawn and the parent process which is continoued
when all forks are done
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Execute the child threads in parallel waiting for them to finish
|
public ForkExecutor(SimuComSimProcess parent, ForkedBehaviourProcess[] forks)
parent
- The parent simulation threadforks
- The threads to run in parallel