Hacker News new | ask | show | jobs
by arghwhat 2629 days 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().

1 comments

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