3 ms·
> Forking a process on Linux uses the same clone() syscall as creating a thread The conclusion to be drawn is "Linux threads are costly", not "Linux processes
by _pmf_ 8y ago
> Forking a process on Linux uses the same clone() syscall as creating a thread
The conclusion to be drawn is "Linux threads are costly", not "Linux processes are cheap".
- inferiorhuman 8y agoIs it? I seem to remember that spawning a process on Linux was about as fast as a new thread on Windows XP.