forked from metin2/client
19 lines
214 B
C++
19 lines
214 B
C++
#ifndef __INC_ETERLIB_MUTEX_H__
|
|
#define __INC_ETERLIB_MUTEX_H__
|
|
|
|
class Mutex
|
|
{
|
|
public:
|
|
Mutex();
|
|
~Mutex();
|
|
|
|
void Lock();
|
|
void Unlock();
|
|
bool Trylock();
|
|
|
|
private:
|
|
CRITICAL_SECTION lock;
|
|
};
|
|
|
|
#endif
|