Messages in this thread | | | Date | Thu, 5 Dec 2002 12:47:40 -0800 | From | Roland McGrath <> | 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |