... | ... | @@ -40,7 +40,7 @@ This method will be called once by the framework before it executes the stage fo |
|
|
**Note:** You also need to make sure that the super method is called, too.
|
|
|
|
|
|
Finally, we need to tell the framework that this stage has finished its work.
|
|
|
Calling the method ``terminateStage`` will do so.
|
|
|
Calling the method ``workCompleted()`` will do so.
|
|
|
Moreover, it automatically propagates a termination signal through the whole P&F architecture.
|
|
|
In this way, all stages terminate themselves after processing their inputs.
|
|
|
Thus, no external termination action is required by the user.
|
... | ... | |