mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
19 lines
191 B
C++
19 lines
191 B
C++
#ifndef MUTEX_H
|
|
#define MUTEX_H
|
|
|
|
#include <mutex>
|
|
|
|
class Mutex {
|
|
public:
|
|
void lock();
|
|
void unlock();
|
|
|
|
Mutex();
|
|
virtual ~Mutex();
|
|
|
|
protected:
|
|
std::mutex _mutex;
|
|
};
|
|
|
|
|
|
#endif |