trying without static initialization

This commit is contained in:
AlexandreRouma 2024-06-26 13:10:05 +02:00
parent e613087e97
commit 5f77718d75

View File

@ -1,8 +1,7 @@
#include <mutex>
std::recursive_mutex mtx;
int main() {
std::recursive_mutex mtx;
std::lock_guard<std::recursive_mutex> lck(mtx);
return 0;
}