Do threads get their own PID?

Do threads get their own PID?
Answer
In the kernel, each thread has its own ID, called a PID, although it would possibly make more sense to call this a TID, or thread ID, and they also have a TGID (thread group ID) which is the PID of the first thread that was created when the process was created.
 

Tìm kiếm

Back
Top