no message

master
zcy 2021-10-06 23:33:59 +08:00
parent 8d15417c4e
commit dee7d8a2b2
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
/*
* @Author: caiyuzheng
* @Date: 2021-10-06 23:05:26
* @LastEditTime: 2021-10-06 23:24:08
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \generallib\general\src\threadsafe\thread_safe_list.h
*/
#pragma once
#include <list>
#include <mutex>
using namespace std;
template <class T>
class SafeList{
public:
SafeList(T *);
private:
std::mutex m_mux;
std::list<T> m_data;
}