MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / LockShared

Method LockShared

KernelLibrary/ExecutiveResource.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void ExecutiveResource::LockShared() {
29 m_CritRegion = KeAreApcsDisabled();
30 if (m_CritRegion)
31 ExAcquireResourceSharedLite(&m_res, TRUE);
32 else
33 ExEnterCriticalRegionAndAcquireResourceShared(&m_res);
34}
35
36void ExecutiveResource::UnlockShared() {
37 Unlock();

Callers 1

SharedLockerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected