In Linux, a kernel thread have a PID:
Why is that? Is a kernel thread considered to be a process? And does a "normal" thread also have a PID?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityIn Linux, a kernel thread have a PID:
Why is that? Is a kernel thread considered to be a process? And does a "normal" thread also have a PID?
They are poorly named. Kernel threads in linux are processes (not actual threads) that run in kernel space rather than user space.