Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 2.49 KB

nf-wdm-exgetexclusivewaitercount.md

File metadata and controls

87 lines (58 loc) · 2.49 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdm.ExGetExclusiveWaiterCount
ExGetExclusiveWaiterCount function (wdm.h)
The ExGetExclusiveWaiterCount routine returns the number of waiters on exclusive access to a given resource.
kernel\exgetexclusivewaitercount.htm
kernel
04/30/2018
ExGetExclusiveWaiterCount function
ExGetExclusiveWaiterCount, ExGetExclusiveWaiterCount routine [Kernel-Mode Driver Architecture], k102_bd65d9e8-06bf-4492-88f1-bfd4e46fb29e.xml, kernel.exgetexclusivewaitercount, wdm/ExGetExclusiveWaiterCount
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Universal
Available starting with Windows 2000.
HwStorPortProhibitedDDIs
NtosKrnl.lib
NtosKrnl.exe
<= DISPATCH_LEVEL
Windows
ExGetExclusiveWaiterCount
wdm/ExGetExclusiveWaiterCount
APIRef
kbSyntax
DllExport
NtosKrnl.exe
ExGetExclusiveWaiterCount

ExGetExclusiveWaiterCount function

-description

The ExGetExclusiveWaiterCount routine returns the number of waiters on exclusive access to a given resource.

-parameters

-param Resource [in]

A pointer to the resource to be tested.

-returns

ExGetExclusiveWaiterCount returns the number of threads currently waiting to acquire the given resource for exclusive access.

-remarks

ExGetExclusiveWaiterCount can be called to get an estimate of how many other threads might be waiting to modify the data protected by a particular resource variable. The caller cannot assume that the returned value remains constant for any particular interval.

-see-also

ExAcquireResourceExclusiveLite

ExAcquireResourceSharedLite

ExAcquireSharedStarveExclusive

ExAcquireSharedWaitForExclusive

ExGetSharedWaiterCount

ExReleaseResourceForThreadLite