|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <mutex>Go to the source code of this file.
Macros | |
| #define | SF_SHARED_GUARD std::lock_guard<std::mutex> |
| #define | SF_SHARED_MUTEX std::mutex |
| #define | SF_UNIQUE_GUARD std::unique_lock<std::mutex> |
| #define SF_SHARED_GUARD std::lock_guard<std::mutex> |
Definition at line 17 of file SharedMutex.h.
Referenced by ObjectAccessor::AddCorpsesToGrid(), HashMapHolder< T >::Find(), ObjectAccessor::FindPlayerByName(), ObjectAccessor::GetCorpseForPlayerGUID(), gm_commandscript::HandleGMListIngameCommand(), reset_commandscript::HandleResetAllCommand(), WorldSession::HandleWhoOpcode(), debug_commandscript::RefreshLfgLockInfoForOnlinePlayers(), GameEventMgr::RunSmartAIScripts(), and ObjectAccessor::SaveAllPlayers().
| #define SF_SHARED_MUTEX std::mutex |
Definition at line 16 of file SharedMutex.h.
Referenced by HashMapHolder< T >::GetLock().
| #define SF_UNIQUE_GUARD std::unique_lock<std::mutex> |
Definition at line 18 of file SharedMutex.h.
Referenced by ObjectAccessor::AddCorpse(), ObjectAccessor::AddUpdateObject(), HashMapHolder< T >::Insert(), HashMapHolder< T >::Remove(), ObjectAccessor::RemoveCorpse(), ObjectAccessor::RemoveUpdateObject(), ObjectAccessor::UnloadAll(), and ObjectAccessor::Update().