enderalse/SKSE/Plugins/fs_skse_plugin_functions/common/IMutex.h

17 lines
218 B
C
Raw Normal View History

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