diff options
author | Jeff Ames | 2008-02-05 03:20:51 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-05 03:20:51 +0000 |
commit | 99844ee4c0b6f844c8f8be7488131e2cc72ea21e (patch) | |
tree | 8740092af3fc8e215a4bbc9e00950ca1a26fef16 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |
parent | Updated svn properties. (diff) | |
download | opensim-SC-99844ee4c0b6f844c8f8be7488131e2cc72ea21e.zip opensim-SC-99844ee4c0b6f844c8f8be7488131e2cc72ea21e.tar.gz opensim-SC-99844ee4c0b6f844c8f8be7488131e2cc72ea21e.tar.bz2 opensim-SC-99844ee4c0b6f844c8f8be7488131e2cc72ea21e.tar.xz |
Added copyright statements.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs index 57e56d4..4a119f0 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs | |||
@@ -1,4 +1,32 @@ | |||
1 | using System; | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | |||
29 | using System; | ||
2 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
3 | using System.Text; | 31 | using System.Text; |
4 | using System.Threading; | 32 | using System.Threading; |
@@ -33,7 +61,6 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
33 | MaintenanceLoopms = m_ScriptEngine.ScriptConfigSource.GetInt("MaintenanceLoopms", 50); | 61 | MaintenanceLoopms = m_ScriptEngine.ScriptConfigSource.GetInt("MaintenanceLoopms", 50); |
34 | } | 62 | } |
35 | 63 | ||
36 | |||
37 | #region " Maintenance thread " | 64 | #region " Maintenance thread " |
38 | /// <summary> | 65 | /// <summary> |
39 | /// Maintenance thread. Enforcing max execution time for example. | 66 | /// Maintenance thread. Enforcing max execution time for example. |
@@ -78,7 +105,6 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
78 | { | 105 | { |
79 | m_ScriptEngine.Log.Error(m_ScriptEngine.ScriptEngineName, "Exception stopping maintenence thread: " + ex.ToString()); | 106 | m_ScriptEngine.Log.Error(m_ScriptEngine.ScriptEngineName, "Exception stopping maintenence thread: " + ex.ToString()); |
80 | } | 107 | } |
81 | |||
82 | } | 108 | } |
83 | 109 | ||
84 | /// <summary> | 110 | /// <summary> |
@@ -150,6 +176,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
150 | } | 176 | } |
151 | } | 177 | } |
152 | #endregion | 178 | #endregion |
179 | |||
153 | /// <summary> | 180 | /// <summary> |
154 | /// If set to true then threads and stuff should try to make a graceful exit | 181 | /// If set to true then threads and stuff should try to make a graceful exit |
155 | /// </summary> | 182 | /// </summary> |
@@ -159,6 +186,5 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
159 | set { _PleaseShutdown = value; } | 186 | set { _PleaseShutdown = value; } |
160 | } | 187 | } |
161 | private bool _PleaseShutdown = false; | 188 | private bool _PleaseShutdown = false; |
162 | |||
163 | } | 189 | } |
164 | } | 190 | } |