I have a process A. It has various scripts S1, S2, S3, S4, S5.
Previously process A merely calls script functions. S1->tick(currentTime).
However, I would like to standardize the sandboxing of these scripts and move them all to external processes.
My question is:
What is the best portable C++ (linux/osx/win32) method to signal to subprocesses that a new tick dataset is available.
What is the best portable C++ way to make data available.
For instance, could I perhaps write data to a shared memory area (writable only by the primary process) and have the sub processes read from this memory area?
Would this be any faster than having some sort inter process communication?