aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-11-22 01:11:35 +0000
committerUbitUmarov2018-11-22 01:11:35 +0000
commit5951152082d765b18fb3ad7416facb51fa1ce58c (patch)
tree599fd6ea4fb2af16f440b5bbddc8ca7443ac4726 /OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs
parentYengine: use using... (diff)
downloadopensim-SC-5951152082d765b18fb3ad7416facb51fa1ce58c.zip
opensim-SC-5951152082d765b18fb3ad7416facb51fa1ce58c.tar.gz
opensim-SC-5951152082d765b18fb3ad7416facb51fa1ce58c.tar.bz2
opensim-SC-5951152082d765b18fb3ad7416facb51fa1ce58c.tar.xz
Yengine: try read XEngine state from wire
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs
index 490de74..092d9c2 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstAbstract.cs
@@ -452,6 +452,11 @@ namespace OpenSim.Region.ScriptEngine.Yengine
452 return newuse; 452 return newuse;
453 } 453 }
454 454
455 public virtual void AddHeapUse(int delta)
456 {
457 Interlocked.Add(ref heapUsed, delta);
458 }
459
455 public int xmrHeapLeft() 460 public int xmrHeapLeft()
456 { 461 {
457 return heapLimit - heapUsed; 462 return heapLimit - heapUsed;