9fans archive / 1999 / 07 / 10 / prev next
From: rog@vit... rog@vit...
Subject: [9fans] spawn() vs fork()
Date: Mon, 5 Jul 1999 10:09:49 BST
> Implementation requirements aside, as Jean says, fork gives you an
> elegant way of setting up I/O redirection. It also gives you an elegant
> way of determining start-up context as a whole for the new process.,
> including internal state.
inferno seems to do fine with a spawn primitive and no process
fork. it has the capability to fork resources (i.e. fds, namespace,
process group) and this, combined with the fact that there are
relatively few attributes associated with a process, seems quite
sufficient for all the usual process setup.
cheers,
rog.