mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* how to find all threads of a given process?
@ 2005-01-07  0:23 jesse
  2005-01-07  8:18 ` David Blomberg
  2005-01-07 11:58 ` Miquel van Smoorenburg
  0 siblings, 2 replies; 3+ messages in thread
From: jesse @ 2005-01-07  0:23 UTC (permalink / raw)
  To: linux-kernel

suppose I already know the PID of a process, how could
i quickly identify all threads of this process? 

As i know, under /proc, threads of all processes have
prefix ".", one way is to iterate each one and do the
check. the approach is too expensive. any other
suggestions?

for instance, 



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-07 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07  0:23 how to find all threads of a given process? jesse
2005-01-07  8:18 ` David Blomberg
2005-01-07 11:58 ` Miquel van Smoorenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®