When I kill (via shell) a process in Linux are the tasks in /proc/pid/tasks
also killed immediately? Or can they run without the principal process?
Advertisement
Answer
Actually, each entry in /proc/pid/tasks is a thread in a process. Check this or this. So when you kill a process, all threads should be killed immediately.