mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-17 16:10:49 +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
|