aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTedd Hansen2008-01-18 20:55:14 +0000
committerTedd Hansen2008-01-18 20:55:14 +0000
commitab5527dd5397a188d8eb5c8fb0cb84d9229c79bd (patch)
tree7d5caaefc161572be8eb19773267362d2262d260 /OpenSim/Region
parentNope, that didn't do it - trying lock on performParcelPrimCountUpdate instead (diff)
downloadopensim-SC-ab5527dd5397a188d8eb5c8fb0cb84d9229c79bd.zip
opensim-SC-ab5527dd5397a188d8eb5c8fb0cb84d9229c79bd.tar.gz
opensim-SC-ab5527dd5397a188d8eb5c8fb0cb84d9229c79bd.tar.bz2
opensim-SC-ab5527dd5397a188d8eb5c8fb0cb84d9229c79bd.tar.xz
Why don't you try compiling before you commit?
No, I don't need to. I'm good, my code never fails!
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 3a6bb05..6a10969 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1696,13 +1696,13 @@ namespace OpenSim.Region.Environment.Scenes
1696 return LLUUID.Zero; 1696 return LLUUID.Zero;
1697 } 1697 }
1698 1698
1699 private readonly const object _performParcelPrimCountUpdateMutex = new object(); 1699 private static readonly object _performParcelPrimCountUpdateMutex = new object();
1700 /// <summary> 1700 /// <summary>
1701 /// 1701 ///
1702 /// </summary> 1702 /// </summary>
1703 public void performParcelPrimCountUpdate() 1703 public void performParcelPrimCountUpdate()
1704 { 1704 {
1705 lock (performParcelPrimCountUpdate) 1705 lock (_performParcelPrimCountUpdateMutex)
1706 { 1706 {
1707 m_LandManager.resetAllLandPrimCounts(); 1707 m_LandManager.resetAllLandPrimCounts();
1708 m_eventManager.TriggerParcelPrimCountUpdate(); 1708 m_eventManager.TriggerParcelPrimCountUpdate();