lkml.org 
[lkml]   [2005]   [May]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromSean Neakums <>
SubjectRe: NPTL: pid of a thread and gdb
DateMon, 09 May 2005 09:17:14 +0100
li nux <lnxluv@yahoo.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-09 10:23    [from the cache]
©2003-2008