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

Method Lock

KernelLibrary/Mutex.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8void Mutex::Lock() {
9 KeWaitForSingleObject(&_mutex, Executive, KernelMode, FALSE, nullptr);
10}
11
12void Mutex::Unlock() {
13 KeReleaseMutex(&_mutex, FALSE);

Callers 1

AutoLockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected