rcpp_framework/core/threading/mutex.h

19 lines
191 B
C
Raw Normal View History

2021-11-09 19:38:07 +01:00
#ifndef MUTEX_H
#define MUTEX_H
#include <mutex>
class Mutex {
public:
void lock();
void unlock();
Mutex();
virtual ~Mutex();
protected:
std::mutex _mutex;
};
#endif