Enuming all threads on a system

Hi

I am trying to do something just for test purposes on my local system
here to enum all EPROCESSes and all threads . Trying going through the
ThreadList in Kthread to get all threads running on a system but it seems it
only has the threads for a specific process like ThreadList of Ethread , any
ideas where can i find a _List_Entry to the all threads on a system rather
than for each process ?

Thanks

No such list exists, you have to enumerate each process and each thread in
the process. You can use the !for_each_thread to do it for you.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

“ahmed zaki” wrote in message news:xxxxx@windbg…
Hi

I am trying to do something just for test purposes on my local system
here to enum all EPROCESSes and all threads . Trying going through the
ThreadList in Kthread to get all threads running on a system but it seems it
only has the threads for a specific process like ThreadList of Ethread , any
ideas where can i find a _List_Entry to the all threads on a system rather
than for each process ?

Thanks