Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Yep. I guess the most basic case is: "is this single process multithreaded, as I have a multicore machine and there's only one PID"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: