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:
parent
bcafcacdbb
commit
fe1f40f927
6 changed files with 121 additions and 138 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue