mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 00:34:44 +01:00
trying without static initialization
This commit is contained in:
parent
e613087e97
commit
5f77718d75
@ -1,8 +1,7 @@
|
|||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
std::recursive_mutex mtx;
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
std::recursive_mutex mtx;
|
||||||
std::lock_guard<std::recursive_mutex> lck(mtx);
|
std::lock_guard<std::recursive_mutex> lck(mtx);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user