Feature #1717

Synchronization mechanism / barrier

Added by Anonymous about 10 years ago.

Status:NewStart date:01/09/2014
Priority:NormalDue 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.

synchr.cpp Magnifier - Example with missing synchronization (2.01 KB) Anonymous, 01/09/2014 04:46 PM

Also available in: Atom PDF