enderalse/SKSE/Plugins/fs_skse_plugin_functions/common/IMutex.h
2021-10-06 02:45:46 +02:00

17 lines
218 B
C++

#pragma once
class IMutex
{
public:
static const UInt32 kDefaultTimeout = 1000 * 10;
IMutex();
~IMutex();
bool Wait(UInt32 timeout = kDefaultTimeout);
void Release(void);
private:
HANDLE theMutex;
};