From 53a910e3e5add262a4fee1f73aad7419f9d150b5 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 7 Feb 2018 10:26:20 +0000 Subject: some more code from mrieker for system threads, give up of all the other mono dependent theading models only availble for linux (and possible not all platforms). This only has impact on micro-threading switching, and this only happens on long events and only every 60ms, aditionally we do remove a totally extra set of threads (that could grow in a uncontroled way on win) and their hanshake with main ones. This may of course be even more broken now :P --- OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs') diff --git a/OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs b/OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs index fdf65cf..0e7d303 100644 --- a/OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs +++ b/OpenSim/Region/ScriptEngine/XMREngine/XMRHeapTracker.cs @@ -119,6 +119,7 @@ namespace OpenSim.Region.ScriptEngine.XMREngine //FAST: return ++ counter; // VS2017 in debug mode seems content to run this quickly though: + try { return lis.Size; } catch { -- cgit v1.1