7 ms·
If you want a POSIX OS, nommu Linux already isn't it: it doesn't have fork().
by Denvercoder9 1y ago
If you want a POSIX OS, nommu Linux already isn't it: it doesn't have fork().
- em3rgent0rdr 1y agoJust reading about this...turns out nommu Linux can use vfork(), which unlike fork() shares the parent's address space. Another drawback is that vfork's parent process gets suspended until the child exits or calls execve().
- actionfromafar 1y agoTypicall you always call vfork() + execve(), vfork is pretty useless on its own. Think about it like CreateProcess() on Windows. Windows is another operating system which doesn't support fork(). (Cygwin did unholy things to make it work anyway, IIRC.)