aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/MaintenanceThread.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* One more: Async LSL command thread is also shared now.Tedd Hansen2008-02-221-40/+46
|
* Bugfixes - Scripting works againTedd Hansen2008-02-221-2/+16
|
* Some misplaced code made scripts never start :)Tedd Hansen2008-02-221-14/+13
|
* Better timing of MaintenanceThread's tasks (uses less CPU)Tedd Hansen2008-02-221-20/+39
| | | | | | Updated OpenSim.ini.example
* Bugfixes - wasn't counting threads right++Tedd Hansen2008-02-221-12/+12
|
* Minor annoying Exception-bug fixedTedd Hansen2008-02-221-1/+2
|
* Execution threads are now shared between regions too. Default thread count ↵Tedd Hansen2008-02-221-3/+2
| | | | | | | regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server. But, this is totally completely untested. So it probably won't work for another patch or five.
* Maintenance thread in charge of loading/unloading of scripts. 1 thread less ↵Tedd Hansen2008-02-221-0/+5
| | | | | | | | per region. Total so far: 2 threads less per region Note: Currently causes delay in load/unload of scripts
* Now last commit will compile too... The features just keep on coming!Tedd Hansen2008-02-221-2/+8
|
* From this commit and a few hours into the future ScriptEngine will be unstable:Tedd Hansen2008-02-221-32/+39
| | | | | | | | * 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.
* Fixes to ScriptEngine thread cleanup on destructorTedd Hansen2008-02-211-6/+3
|
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-211-0/+1
| | | | compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
* Minor cleanup.Jeff Ames2008-02-201-7/+1
|
* Converted logging to use log4net.Jeff Ames2008-02-051-5/+5
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* Added copyright statements.Jeff Ames2008-02-051-4/+30
|
* fixed a timing bug in config re-read. Apparently there is 1000000000 ns in ↵Tedd Hansen2008-02-021-3/+4
| | | | one second...
* Updated svn properties.Jeff Ames2008-02-021-163/+163
|
* Added load/unload queue size limitTedd Hansen2008-02-021-7/+8
| | | | | | | Added option to share script load/unload thread between regions Added event execution queue size limit + some bugfixes from all the changes
* Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run ↵Tedd Hansen2008-02-021-1/+6
| | | | | | | | | | | | OpenSim in 32-bit mode. Added VISUAL BASIC.NET-support //cs, //lsl and //vb as first characters of script will determine what compiler is used. Compile warnings are no longer treated as errors. Script will still run. Added a few useless and useful config options: Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup Loads of warnings for incorrect config
* Added some error checking to MaintenanceThread, no-crash (just log) loading ↵Tedd Hansen2008-02-021-27/+31
| | | | of script engines, and support to load multiple script engines
* SCRIPTING STILL BROKENTedd Hansen2008-02-011-30/+56
| | | | | | | | | | | Added comments and regions, restructured code Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG All modules should now refresh their configuration runtime Made all logging in ScriptEngine.Common get script name from actual engine Renamed LSLLongCmdHandler to AsyncLSLCommandManager Added auto-recover with 5 sec throttle for new MaintenanceThread
* SCRIPT SUPPORT IS STILL BROKEN.Tedd Hansen2008-02-011-0/+127
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed. Added ability to re-read configuration while OpenSim is running All regions now sharing one MaintenanceThread New MaintenanceThread: - checks for script execution timeout - re-reads config - starts/stops threads if thread active count becomes too high/low compared to config Speed increase on event execution: - Reuse of try{}catch{} blocks - Time calculation on event execution