| Commit message (Collapse) | Author | Files | Lines |
|
region queue before queue objects were fully operational)
|
|
|
|
|
|
|
|
|
|
Updated OpenSim.ini.example
|
|
|
|
|
|
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.
|
|
per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
|
|
|
|
* 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.
|
|
|
|
|
|
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
|
|
threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
|
|
|
|
|
|
in timed scripts...
|
|
This patch implements the llSendRemoteData command and fixes mantis 552,
and possibly 586.
|
|
the randoms segfaults
|
|
In his own words:
If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script.
This patch fixes that.
|
|
|
|
commented out.
|
|
DEBUG is defined by default in the Linux build.
|
|
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
|
|
|
|
working on 1 region. :)
Using default warning level on C#/VB compile
|
|
one second...
|
|
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)
ScriptEngine will react correctly to any config change made while it is running.
|
|
|
|
|
|
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
|
|
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
|
|
OpenSim in 32-bit mode.
Fixed ScriptEngine.Common startup problems.
|
|
itself? :)
|
|
of script engines, and support to load multiple script engines
|
|
Refreshing config based on this.
Temporarily disabled feature to refresh config file while running.
|
|
|
|
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
|
|
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
|
|
|
|
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
|
|
Fixed small bug in thread counter.
|
|
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
|
|
A separate thread is used to enforce max function (event) execution time for scripts.
|
|
|
|
events can use llDetect*-commands to find information about event.
|
|
* An example changed event syntax is at: http://opensimulator.org/wiki/Changed_Event_Example
* You can use this to trigger actions in your script if someone sits on your object_rez
* You can use this to figure out all of the CHANGED_ constants except for CHANGED_REGION, CHANGED_TELEPORT, and CHANGED_ALLOW_DROP
|
|
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
|