raze/source/build/include/mutex.h

21 lines
215 B
C
Raw Normal View History

#ifndef mutex_h_
#define mutex_h_
2019-11-05 19:25:57 +00:00
#include <mutex>
2019-11-05 19:25:57 +00:00
typedef std::mutex mutex_t;
2019-11-05 19:25:57 +00:00
inline void mutex_lock(mutex_t* mutex)
{
mutex->lock();
}
2019-11-05 19:25:57 +00:00
inline void mutex_unlock(mutex_t* mutex)
{
mutex->unlock();
}
#endif