Remove mutex class and use std
This commit is contained in:
parent
69cdf43909
commit
f146ddd307
5 changed files with 5 additions and 22 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <mutex>
|
||||
|
||||
namespace tp {
|
||||
class Mutex {
|
||||
std::mutex mMutex;
|
||||
|
||||
public:
|
||||
Mutex() = default;
|
||||
|
||||
void lock() { mMutex.lock(); }
|
||||
|
||||
void unlock() { mMutex.unlock(); }
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue