minor: Add some method doc. Add warnings since calling SOG link/delink methods directly rather than through Scene may allow race conditions.

This commit is contained in:
Justin Clark-Casey (justincc)
2012-04-17 23:54:51 +01:00
parent cca6b6bd0d
commit 859646ef5c
2 changed files with 22 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ namespace OpenSim.Region.Framework.Scenes
/// </summary>
protected internal Dictionary<uint, SceneObjectGroup> SceneObjectGroupsByLocalPartID = new Dictionary<uint, SceneObjectGroup>();
/// <summary>
/// Lock to prevent object group update, linking and delinking operations from running concurrently.
/// </summary>
private Object m_updateLock = new Object();
#endregion