3 ms·
fork(2) will do though.
by ggruschow 18y ago
fork(2) will do though.
- apgwoz 18y agobut, then you need to add some sort of IPC to the mix, because there's still a notion of "commit" for the mutation of state.
- ggruschow 18y agoI don't think you need it in all cases. For instance, if the "world" / "tab" knows that it's no good, it could self-exit. That'd leave only the "good" one standing without any coordination / communication. Or, in some other cases, return codes may be good enough. Even if it's easily possible with current stuff though, it's still an interesting idea.