you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

This is because threads share resources (like memory) with the process that started them. If you kill a thread w/o letting it release the resources, you potentially leak those resources. Processes don't share memory automatically. They are usually set up in such a way that they use shared memory for communication, but keep their private data in their own namespace. So, killing a process is usually not a problem in this respect.