aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-12-30 16:34:54 +0000
committerTedd Hansen2007-12-30 16:34:54 +0000
commit527b5f86a2442162f9cf1daf3ebd9129fabdea22 (patch)
tree84ffb8f9ed0a537fb8b80fff1ffac25dea2fe302 /OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
parentAdded comments to ScriptEngine classes that explains what their purpose is (diff)
downloadopensim-SC_OLD-527b5f86a2442162f9cf1daf3ebd9129fabdea22.zip
opensim-SC_OLD-527b5f86a2442162f9cf1daf3ebd9129fabdea22.tar.gz
opensim-SC_OLD-527b5f86a2442162f9cf1daf3ebd9129fabdea22.tar.bz2
opensim-SC_OLD-527b5f86a2442162f9cf1daf3ebd9129fabdea22.tar.xz
In this commit I am using an editor feature called "Save All" before I commit.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
index bc241ce..66153a7 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
@@ -36,6 +36,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
36{ 36{
37 public class AppDomainManager 37 public class AppDomainManager
38 { 38 {
39
40 //
41 // This class does AppDomain handling and loading/unloading of scripts in it.
42 // It is instanced in "ScriptEngine" and controlled from "ScriptManager"
43 //
44 // 1. Create a new AppDomain if old one is full (or doesn't exist)
45 // 2. Load scripts into AppDomain
46 // 3. Unload scripts from AppDomain (stopping them and marking them as inactive)
47 // 4. Unload AppDomain completely when all scripts in it has stopped
48 //
49
50
39 private int maxScriptsPerAppDomain = 1; 51 private int maxScriptsPerAppDomain = 1;
40 52
41 /// <summary> 53 /// <summary>