diff options
author | Tedd Hansen | 2007-12-30 16:34:54 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-12-30 16:34:54 +0000 |
commit | 527b5f86a2442162f9cf1daf3ebd9129fabdea22 (patch) | |
tree | 84ffb8f9ed0a537fb8b80fff1ffac25dea2fe302 /OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs | |
parent | Added comments to ScriptEngine classes that explains what their purpose is (diff) | |
download | opensim-SC-527b5f86a2442162f9cf1daf3ebd9129fabdea22.zip opensim-SC-527b5f86a2442162f9cf1daf3ebd9129fabdea22.tar.gz opensim-SC-527b5f86a2442162f9cf1daf3ebd9129fabdea22.tar.bz2 opensim-SC-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.cs | 12 |
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> |