Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
218 B
17 lines
218 B
3 years ago
|
#pragma once
|
||
|
|
||
|
class IMutex
|
||
|
{
|
||
|
public:
|
||
|
static const UInt32 kDefaultTimeout = 1000 * 10;
|
||
|
|
||
|
IMutex();
|
||
|
~IMutex();
|
||
|
|
||
|
bool Wait(UInt32 timeout = kDefaultTimeout);
|
||
|
void Release(void);
|
||
|
|
||
|
private:
|
||
|
HANDLE theMutex;
|
||
|
};
|