2 ms·
Use posix_spawn not fork and exec, then at least the OS may not allocate twice the memory, eg the BSDs will not.
by justincormack 11y ago
Use posix_spawn not fork and exec, then at least the OS may not allocate twice the memory, eg the BSDs will not.
- joosters 11y agoGood luck getting any existing 3rd-party code to use posix_spawn ...