ExGetExclusiveWaiterCount - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

ULONG ExGetExclusiveWaiterCount(
  [in] PERESOURCE Resource
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-exgetexclusivewaitercount)

ExGetExclusiveWaiterCount function

Description

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

Parameters

Resource [in]

A pointer to the resource to be tested.

Return value

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