> 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/
This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:23 EST