mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 22:19:54 -04:00
Removed mtmaps OpenMP
Implement mtmaps based on ACE For stable work MapUpdate.Threads=2 in config --HG-- branch : trunk
This commit is contained in:
@@ -162,6 +162,7 @@ Player*
|
||||
ObjectAccessor::FindPlayerByName(const char *name)
|
||||
{
|
||||
//TODO: Player Guard
|
||||
Guard guard(*HashMapHolder<Player>::GetLock());
|
||||
HashMapHolder<Player>::MapType& m = HashMapHolder<Player>::GetContainer();
|
||||
HashMapHolder<Player>::MapType::iterator iter = m.begin();
|
||||
for (; iter != m.end(); ++iter)
|
||||
|
||||
Reference in New Issue
Block a user