Files
lime/project/include/system/Mutex.h
Joseph Cloutier 4819ff3b27 Make C++ mutex methods constant.
Closes #1729.

Co-authored-by: Diego Fonseca <fonseca.diego.feeshy@gmail.com>
2024-02-05 15:11:33 -05:00

31 lines
254 B
C++

#ifndef LIME_SYSTEM_MUTEX_H
#define LIME_SYSTEM_MUTEX_H
namespace lime {
class Mutex {
public:
Mutex ();
~Mutex ();
bool Lock () const;
bool TryLock () const;
bool Unlock () const;
private:
void* mutex;
};
}
#endif