// wdm.h
ULONG ExGetSharedWaiterCount(
[in] PERESOURCE Resource
);
View the official Windows Driver Kit DDI reference
No description available.
The ExGetSharedWaiterCount routine returns the number of waiters on shared access to a given resource.
Resource
[in]A pointer to the resource to be tested.
ExGetSharedWaiterCount returns the number of threads currently waiting to acquire the given resource for shared access.
ExGetSharedWaiterCount can be called to get an estimate of how many other threads might be waiting to read the data protected by a particular resource variable. The caller cannot assume that the returned value remains constant for any particular interval.
ExAcquireResourceExclusiveLite
ExAcquireSharedStarveExclusive
ExAcquireSharedWaitForExclusive
ExReleaseResourceForThreadLite