0_0_33525846_31453.cpp:7:1: error: 'mutex' does not name a type
mutex mtx;
^
0_0_33525846_31453.cpp: In lambda function:
0_0_33525846_31453.cpp:331:13: error: 'mtx' was not declared in this scope
mtx.lock();
^
0_0_33525846_31453.cpp: In lambda function:
0_0_33525846_31453.cpp:346:17: error: 'this_thread' has not been declared
this_thread::sleep_for(chrono::seconds(1));
^
0_0_33525846_31453.cpp:349:17: error: 'thread' was not declared in this scope
thread t(f);
^
0_0_33525846_31453.cpp:350:17: error: 't' was not declared in this scope
t.detach();
^
0_0_33525846_31453.cpp:355:13: error: 'this_thread' has not been declared
this_thread::sleep_for(chrono::seconds(1));
^
|