16 Aug
2012
16 Aug
'12
2:17 p.m.
On Wednesday 15 Aug 2012 18:54:24 Kevin Chadwick wrote:
Forking processes does not copy binaries.
Pulled out of silence for the very very last time.
It copies the parent which is much larger is what I meant. A real problem for embedded where memory fragmentation matters to the point that Google had code written just to handle it. The smaller the device, the greater the issue tends to be.
I don't think this is true. If I understand correctly, the code segment of the executable image is shared between forks, meaning that the binary size is irrelevant. http://en.wikipedia.org/wiki/Fork_%28operating_system%29 Paul