minor: add reminder to lock SOG.Children before using it directly in order to avoid threading issues

mysql-performance
Justin Clark-Casey (justincc) 2010-02-02 15:45:41 +00:00
parent 08721be374
commit 96d5c8196a
1 changed files with 5 additions and 2 deletions

View File

@ -235,6 +235,9 @@ namespace OpenSim.Region.Framework.Scenes
set { m_rootPart.GroupID = value; }
}
/// <value>
/// The parts of this scene object group. You must lock this property before using it.
/// </value>
public Dictionary<UUID, SceneObjectPart> Children
{
get { return m_parts; }
@ -2097,7 +2100,7 @@ namespace OpenSim.Region.Framework.Scenes
}
/// <summary>
/// Get a child part with a given UUID
/// Get a part with a given UUID
/// </summary>
/// <param name="primID"></param>
/// <returns>null if a child part with the primID was not found</returns>
@ -2112,7 +2115,7 @@ namespace OpenSim.Region.Framework.Scenes
}
/// <summary>
/// Get a child part with a given local ID
/// Get a part with a given local ID
/// </summary>
/// <param name="localID"></param>
/// <returns>null if a child part with the local ID was not found</returns>