Is there anyway to display all the critical sections owned
by a given thread?
I was looking at the !cs command, but it doesn’t seem to
be able to do this.
Thanks,
Joseph
Is there anyway to display all the critical sections owned
by a given thread?
I was looking at the !cs command, but it doesn’t seem to
be able to do this.
Thanks,
Joseph
> Is there anyway to display all the critical sections owned
by a given thread?
I was looking at the !cs command, but it doesn’t seem to
be able to do this.
Can’t you just run !cs and then search the output looking for a particular
thread ID? Could be missing something since I don’t do much UM debugging…
-scott
–
Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com
“Joseph Galbraith” wrote in message news:xxxxx@windbg…
> Is there anyway to display all the critical sections owned
> by a given thread?
>
> I was looking at the !cs command, but it doesn’t seem to
> be able to do this.
>
> Thanks,
>
> Joseph
>
On 3/8/2010 07:59, Scott Noone wrote:
> Is there anyway to display all the critical sections owned
> by a given thread?
>
> I was looking at the !cs command, but it doesn’t seem to
> be able to do this.Can’t you just run !cs and then search the output looking for a
particular thread ID? Could be missing something since I don’t do much
UM debugging…
Thanks, I think that would work.
I was looking at it backwards. I saw the ton of output
from !cs and thought, “Geez, I just want to know what this
one thread has locked… isn’t there a flag I can pass
to reduce the output?”
In the end, !cs -l turned out to be pretty useful at reducing
the output to useful stuff.
Thanks,
Joseph