OpenSimMirror/OpenSim
Justin Clark-Casey (justincc) 12cebb12d5 Alleviate an issue where calling Thread.Abort() on script WorkItems can fail to release locks, resulting in a crippled simulator.
This seems to be a particular problem with ReaderWriterLockSlim, though other locks can be affected as well.
It has been seen to happen when llDie() is called in a linkset running more than one script.
Alleviation here means supplying a ScriptInstance.Stop() timeout of 1000ms rather than 0ms, to give events a chance to complete.
Also, we check the IsRunning status at the top of the ScriptInstance.EventProcessor() so that another event doesn't start in the mean time.
Ultimately, a better solution may have to be found since a long-running event would still exceed the timeout and be aborted.
2012-03-15 00:06:52 +00:00
..
ApplicationPlugins Changed save oar and save iar parameter -p|--profile to -h|--home, including corresponding RemoteAdmin parameter 2012-02-03 23:53:18 +01:00
Capabilities Implement the FetchInventory2 capability. This accompanies the existing FetchInventoryDescendents2 capability. 2012-01-06 21:07:34 +00:00
ConsoleClient Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead of the other way around. 2011-10-25 20:24:21 +01:00
Data Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream(). 2012-03-12 10:07:04 -07:00
Framework Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream(). 2012-03-12 10:07:04 -07:00
Region Alleviate an issue where calling Thread.Abort() on script WorkItems can fail to release locks, resulting in a crippled simulator. 2012-03-15 00:06:52 +00:00
Server Minor sanity check on simulation agent handler (content type) 2012-03-13 20:14:51 -07:00
Services Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream(). 2012-03-12 10:07:04 -07:00
Tests minor: make NPC tests run in a given order, comment out log lines in mock region data plugins, null out scene in script and npc torture tests, add other doc comments to torture tests 2012-03-07 01:11:37 +00:00
Tools minor: Rename pCampbot console prompt to "pCampbot" rather than "Region" 2012-03-02 01:54:48 +00:00