AzerothCore
3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Macros
PolicyLock.h File Reference
#include <mutex>
Go to the source code of this file.
Macros
#define
GUARD_RETURN
(mutex, retval)
Macro Definition Documentation
◆
GUARD_RETURN
#define GUARD_RETURN
(
mutex,
retval
)
Value:
if
(!mutex.try_lock()) \
return
retval; \
std::lock_guard<
decltype
(mutex)> guard(mutex, std::adopt_lock)
azerothcore-wotlk
src
common
Threading
PolicyLock.h
Generated on Mon Dec 16 2024 20:42:09 for AzerothCore by
1.9.5