Skip to content

Instantly share code, notes, and snippets.

View ender233's full-sized avatar

Ender0224 ender233

View GitHub Profile
#include <condition_variable>
#include <mutex>
#include <thread>
#include <iostream>
#include <queue>
#include <chrono>
using namespace std;
using namespace std::chrono_literals;
int main()
{
@ender233
ender233 / thread.cpp
Created July 26, 2017 20:19
c++11多线程验证
#include <iostream>
#include <map>
#include <thread>
#include <chrono>
using namespace std;
using namespace std::chrono_literals;
class TestClass
{
public: