#include std::recursive_mutex mtx; int main() { std::lock_guard lck(mtx); return 0; }