4 ms·
In Linux, they are both just entries in the process table. They are created by the `clone` syscall, and the "normal" way of creating them share different amount
by alexchamberlain 11y ago
In Linux, they are both just entries in the process table. They are created by the `clone` syscall, and the "normal" way of creating them share different amounts of resources by _default_.
You're right to say that treating them differently can be beneficial in some situations, but it really depends.
- nailer 11y agoYep. I guess the most basic case is: "is this single process multithreaded, as I have a multicore machine and there's only one PID"