mirror of
https://github.com/BeneficialCode/WinArk
synced 2026-08-09 12:00:31 +00:00
14 lines
218 B
C++
14 lines
218 B
C++
#include "pch.h"
|
|
#include "FastMutex.h"
|
|
|
|
void FastMutex::Init() {
|
|
ExInitializeFastMutex(&_mutex);
|
|
}
|
|
|
|
void FastMutex::Lock() {
|
|
ExAcquireFastMutex(&_mutex);
|
|
}
|
|
|
|
void FastMutex::Unlock() {
|
|
ExReleaseFastMutex(&_mutex);
|
|
} |