Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #12627
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Adam Stanton <adamstanton1979@gmail.com> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Output of pstree -p <pid> shows threads with different pids |
| Date | Wed, 5 Nov 2014 11:52:36 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 17 |
| Message-ID | <20141105115236.2673c532@adam> (permalink) |
| References | <20141105094408.3d6d3fec@adam> <wwvd291tsl2.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> <20141105110501.6cc10824@adam> <wwv1tphtp9a.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| Injection-Info | mx02.eternal-september.org; posting-host="e046037725bc16461aa7d5edc031aee7"; logging-data="32482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XKRpRJ1T3QDC81uMpqHH1jwbRoYGpz4Y=" |
| X-Newsreader | Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) |
| Cancel-Lock | sha1:CrXV3ep+RbcNU+hIIOIJNKYDTOw= |
| Xref | csiph.com comp.os.linux.misc:12627 |
Show key headers only | View raw
On Wed, 05 Nov 2014 19:34:57 +0000 Richard Kettlewell <rjk@greenend.org.uk> wrote: > Adam Stanton <adamstanton1979@gmail.com> writes: > > True enough, but why are the pids different? If these are threads, > > then should the pids be the same as the process? > > Oh, apologies, I completely misinterpreted what you were asking. The > values attached to the threads will be thread IDs, not PIDs. See ‘man > gettid’ and (in particular) the CLONE_THREAD section of ‘man clone’. > Ahh, makes perfect sense now (although docs could clear up the ambiguity for those particular tools), thanks so much!
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar | Unroll thread
Output of pstree -p <pid> shows threads with different pids Adam Stanton <adamstanton1979@gmail.com> - 2014-11-05 09:44 -0800
Re: Output of pstree -p <pid> shows threads with different pids Richard Kettlewell <rjk@greenend.org.uk> - 2014-11-05 18:23 +0000
Re: Output of pstree -p <pid> shows threads with different pids Adam Stanton <adamstanton1979@gmail.com> - 2014-11-05 11:05 -0800
Re: Output of pstree -p <pid> shows threads with different pids Richard Kettlewell <rjk@greenend.org.uk> - 2014-11-05 19:34 +0000
Re: Output of pstree -p <pid> shows threads with different pids Adam Stanton <adamstanton1979@gmail.com> - 2014-11-05 11:52 -0800
csiph-web