mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
20 lines
215 B
C++
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
|