Messages in this thread | | | Date | Thu, 6 Jan 2005 16:23:33 -0800 (PST) | From | jesse <> | Subject | how to find all threads of a given process? |
| |
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,
- 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/
| |