2 ms·
That's actually how fork() is implemented today on Linux, too - the clone() system call can be used to implement either processes or threads (by specifying exac
by caf 17y ago
That's actually how fork() is implemented today on Linux, too - the clone() system call can be used to implement either processes or threads (by specifying exactly what is to be copied and what is to be shared), and modern versions of glibc implement fork() by calling clone().