aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/Mono.Addins.dll
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-15 00:20:47 +0000
committerJustin Clark-Casey (justincc)2012-03-15 00:20:47 +0000
commit2f81e53f63012f0ed1623dc6159da01a3807fbf6 (patch)
tree3ffa114441d92456392f452464f808983fbe1ee3 /bin/Mono.Addins.dll
parentAlleviate an issue where calling Thread.Abort() on script WorkItems can fail ... (diff)
downloadopensim-SC-2f81e53f63012f0ed1623dc6159da01a3807fbf6.zip
opensim-SC-2f81e53f63012f0ed1623dc6159da01a3807fbf6.tar.gz
opensim-SC-2f81e53f63012f0ed1623dc6159da01a3807fbf6.tar.bz2
opensim-SC-2f81e53f63012f0ed1623dc6159da01a3807fbf6.tar.xz
Fix a problem where multiple near simultaneous calls to llDie() from multiple scripts in the same linkset can cause unnecessary thread aborts.
The first llDie() could lock Scene.m_deleting_scene_object. The second llDie() would then wait at this lock. The first llDie() would go on to remove the second script but always abort it since the second script's WorkItem would not go away. Easiest solution here is to remove the m_deleting_scene_object since it's no longer justified - we no longer lock m_parts but take a copy instead. This also requires an adjustment in XEngine.OnRemoveScript not to use instance.ObjectID instead when firing the OnObjectRemoved event.
Diffstat (limited to 'bin/Mono.Addins.dll')
0 files changed, 0 insertions, 0 deletions