Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

!critsec

The !critsec extension displays a critical section.


    !critsec Address 

Parameters

Address

Specifies the hexadecimal address of the critical section.

DLL

Windows 2000

Ntsdexts.dll

Windows XP and later

Ntsdexts.dll

 

Additional Information

For other commands and extensions that can display critical section information, see Displaying a Critical Section. For information about critical sections, see the Microsoft Windows SDK documentation, the Windows Driver Kit (WDK) documentation, and Microsoft Windows Internals by Mark Russinovich and David Solomon.

Remarks

If you do not know the address of the critical section, you should use the !ntsdexts.locks extension. This displays all critical sections that have been initialized by calling RtlInitializeCriticalSection.

Here is an example:


0:000> !critsec 3a8c0e9c

CritSec +3a8c0e9c at 3A8C0E9C
LockCount          1
RecursionCount     1
OwningThread       99
EntryCount         472
ContentionCount    1
*** Locked

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft