Feature #1717
Synchronization mechanism / barrier
Status: | New | Start date: | 01/09/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | cca0.5 |
Description
An issue, already discussed in 20011 (20110309) came up again, relating to synchronization inside CCA. Synchronization can be ensured within CCA between nodes with output ports, through input-based processing strategies reacting to outputs.
However, this is a problem with sink nodes without output ports, where you can't know when the node has finished processing.
See the simple example attached, where the main program should continue not until both nodes are finished processing. Currently, this can't be achieved without taking care of this manually.
So provide some kind of synchronization mechanism / barrier, that ensures finished processing of a node / a group of nodes / a circuit / a sub-circuit.