raze-gles/source/build/include/mutex.h
2019-11-05 20:25:57 +01:00

20 lines
215 B
C++

#ifndef mutex_h_
#define mutex_h_
#include <mutex>
typedef std::mutex mutex_t;
inline void mutex_lock(mutex_t* mutex)
{
mutex->lock();
}
inline void mutex_unlock(mutex_t* mutex)
{
mutex->unlock();
}
#endif