PDA

Просмотр полной версии : [9245] Remove CellLock class and all cell-level thread locking.


newsbot
23.01.2010, 23:42
<pre>m src/game/AchievementMgr.cpp
m src/game/Cell.h
m src/game/CellImpl.h
m src/game/Chat.cpp
m src/game/ChatHandler.cpp
m src/game/Creature.cpp
m src/game/CreatureEventAI.cpp
m src/game/DynamicObject.cpp
m src/game/GameObject.cpp
m src/game/Level3.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/Object.cpp
m src/game/Player.cpp
m src/game/Spell.cpp
m src/game/SpellAuras.cpp
m src/game/TotemAI.cpp
m src/game/Unit.cpp
m src/shared/revision_nr.h

[9245] Remove CellLock class and all cell-level thread locking.

* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.</pre>



Дальше... (http://github.com/mangos/mangos/commit/c3076b7665fe6811873613987581503c22838c96)