diff options
author | Tedd Hansen | 2008-02-22 12:50:24 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-22 12:50:24 +0000 |
commit | a040008cb956f4e99bc87a006b51925966443d63 (patch) | |
tree | aa3a5b1cc2249993c5ae73b1a27787dda103e306 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs | |
parent | * Relative large ClientView refactoring of packet Events into .Net recommende... (diff) | |
download | opensim-SC-a040008cb956f4e99bc87a006b51925966443d63.zip opensim-SC-a040008cb956f4e99bc87a006b51925966443d63.tar.gz opensim-SC-a040008cb956f4e99bc87a006b51925966443d63.tar.bz2 opensim-SC-a040008cb956f4e99bc87a006b51925966443d63.tar.xz |
From this commit and a few hours into the future ScriptEngine will be unstable:
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs index aa7e3e9..e3d448c 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueManager.cs | |||
@@ -452,14 +452,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
452 | } | 452 | } |
453 | #endregion | 453 | #endregion |
454 | 454 | ||
455 | /// <summary> | 455 | ///// <summary> |
456 | /// If set to true then threads and stuff should try to make a graceful exit | 456 | ///// If set to true then threads and stuff should try to make a graceful exit |
457 | /// </summary> | 457 | ///// </summary> |
458 | public bool PleaseShutdown | 458 | //public bool PleaseShutdown |
459 | { | 459 | //{ |
460 | get { return _PleaseShutdown; } | 460 | // get { return _PleaseShutdown; } |
461 | set { _PleaseShutdown = value; } | 461 | // set { _PleaseShutdown = value; } |
462 | } | 462 | //} |
463 | private bool _PleaseShutdown = false; | 463 | //private bool _PleaseShutdown = false; |
464 | } | 464 | } |
465 | } | 465 | } |