2 ms·
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 exactl
by arghwhat 8y 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().
- zzzcpan 8y agoThe memory is not shared, but copied, so you don't have to care about concurrent memory access.