The Battle for Wesnoth  1.15.3+dev
Macros
concurrency.cpp File Reference
#include <mysql.h>
#include <mariadb++/types.hpp>
#include <atomic>
#include <thread>
#include <mutex>
#include "worker.hpp"
#include "private.hpp"
Include dependency graph for concurrency.cpp:

Go to the source code of this file.

Macros

#define LOCK_MUTEX()   std::lock_guard<std::mutex> lock(g_mutex)
 

Macro Definition Documentation

◆ LOCK_MUTEX

#define LOCK_MUTEX ( )    std::lock_guard<std::mutex> lock(g_mutex)

Definition at line 18 of file concurrency.cpp.

Referenced by mariadb::concurrency::release_handle().