3 ms·
> My understanding is that `fork()` is a nice wrapper around `posix_spawn` . Not really, you can't implement fork on top of POSIX spawn, but you can do the rev
by gpderetta 7y ago
> My understanding is that `fork()` is a nice wrapper around `posix_spawn` .
Not really, you can't implement fork on top of POSIX spawn, but you can do the reverse. On linux they are both implemented on top of a lower lower level primitive (clone).