Hi everyone,

I am a new hand for driver devlopment. Now I face with a problem.
I want to view the status of threads related to a driver. For example,

are threads related to usbvideo driver runing or suspending (waiting for
events).

These information is very inportant for me to judge whether the thread
related to driver occupy the cpu or not.

Is there any way to make it possible?
Does windbg provide the command to view it?

Your help is very appriciated.
Thanks.

Re: how to get the status of threads related to a driver by David

David
Wed Aug 29 11:13:20 CDT 2007

You questions make assumptions that are false. Drivers are not processes
and don't have threads. The system process and all other processes must
have at least one thread for the process to exist. Just because a thread is
executing in a driver, does not mean it is the driver's thread. It could be
the user thread that made the request, a system thread, or any other
available thread that was running when an interrupt occurs.

--
David J. Craig
Engineer, Sr. Staff Software Systems
Broadcom Corporation


"Steve" <Steve@discussions.microsoft.com> wrote in message
news:642575E2-4E9D-4DD4-9D6C-21F62EBA923F@microsoft.com...
> Hi everyone,
>
> I am a new hand for driver devlopment. Now I face with a problem.
> I want to view the status of threads related to a driver. For example,
>
> are threads related to usbvideo driver runing or suspending (waiting for
> events).
>
> These information is very inportant for me to judge whether the thread
> related to driver occupy the cpu or not.
>
> Is there any way to make it possible?
> Does windbg provide the command to view it?
>
> Your help is very appriciated.
> Thanks.