2 ms·
The manpage suggests if you need the child to be the same as the parent to exec a copy of the parent in the child right after forking.
by cestith 1mo ago
The manpage suggests if you need the child to be the same as the parent to exec a copy of the parent in the child right after forking.
- oasisaimlessly 1mo agoThis doesn't allow reusing initialization work via CoW mappings (like GP was asking about).
- cestith 1mo agoThis is an artifact of doing as the platform is documented to work. You can do what the man page says, or you can do the opposite. The whole article is about how forking on macOS is troublesome.