Re: NPTL: pid of a thread and gdb

From: Sean Neakums
Date: Mon May 09 2005 - 03:21:56 EST


li nux <lnxluv@xxxxxxxxx> writes:

> I am using the NPTL ilbrary to create a thread.
> In NPTL the parent and the thread have the same pid.
> Then on what basis gdb differentiates between the
> threads which have the same pid ?

See gettid(2).

--
Dag vijandelijk luchtschip de huismeester is dood
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/