Comment by arghwhat

7 years ago

But if you pass resources and data form forked child to parent, you are already using shared memory.

And, in this case, it sounds like a thread would do exactly what you want, but without the oddities of fork().

The memory is not shared, but copied, so you don't have to care about concurrent memory access.