parallelization isn't worth it unless we can reasonably estimate our workload before initiating

implement double checked locking
change active solution to x64
map thread-safety
This commit is contained in:
Mark Sturgill 2013-10-17 20:25:11 -07:00
parent bcafcacdbb
commit fe1f40f927
6 changed files with 121 additions and 138 deletions

View file

@ -1845,7 +1845,7 @@ namespace Server
int height;
bool found;
Point3D p;
Point3DList path = m_PathList;
Point3DList path = new Point3DList();
TileFlag flags;
if( org == dest )
@ -2087,7 +2087,6 @@ namespace Server
set { m_InvalidLandTiles = value; }
}
private static Point3DList m_PathList = new Point3DList();
public int CompareTo( Map other )
{
if ( other == null )