Order of cook\execute CPP nodes

Hi there,
I`m using singleton structure to retrieve sop and top data from one file,

1.one chop cpp just prepare frame from file by index.
2. Top cpp retrieve the frame (address).
3. Sop cpp retrieve the frame (address).

I notice I cant promise synchronization between the top and sop,
to solve it i pre cook the the chop cpp.
then top and sop cpps gets same frame.

There is better way to control the order of cook\execute on cpp nodes?
(I prefer not to involve python)
Am I doing it right ?
Do i miss anything ?

Barak

The work in the singleton should be done by the first OP that calls the singleton that frame, it shouldn’t be specifically the CPP CHOP. That way it doesn’t matter who cooks first.