Add missing files
This commit is contained in:
31
project/include/system/Mutex.h
Normal file
31
project/include/system/Mutex.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef LIME_SYSTEM_MUTEX_H
|
||||
#define LIME_SYSTEM_MUTEX_H
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Mutex {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Mutex ();
|
||||
~Mutex ();
|
||||
|
||||
bool Lock ();
|
||||
bool TryLock ();
|
||||
bool Unlock ();
|
||||
|
||||
private:
|
||||
|
||||
void* mutex;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user