[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: what's the relationship between tgid, tid and pid ?



that makes sense and sorry for my carelessness. thanks.

boris

-----Original Message-----
From: Roland McGrath [mailto:roland redhat com]
Sent: 2002?12?5? 12:48
To: phil-list redhat com
Cc: Linux Kernel ML (E-mail)
Subject: Re: what's the relationship between tgid, tid and pid ?


> It seems tid = pid, while tgid is head pthread pid. 

"tgid" is the PID of the whole POSIX.1 process.
"pid" is a per-thread PID-like number.

> But the following lines let me confused.

You didn't read the rest of the function to see where it's changed again.



-- 
Phil-list mailing list
Phil-list redhat com
https://listman.redhat.com/mailman/listinfo/phil-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]