aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-06-05 22:20:48 +0100
committerJustin Clark-Casey (justincc)2013-06-05 22:20:48 +0100
commitf41fc4eb25ade48a358511564f3911a4605c1c31 (patch)
treedf8e2bd67efc677c2846d493539ae4b78ea3d055 /LICENSE.txt
parentBulletSim: default PhysicsTimeStep to same as the simulator's (diff)
downloadopensim-SC-f41fc4eb25ade48a358511564f3911a4605c1c31.zip
opensim-SC-f41fc4eb25ade48a358511564f3911a4605c1c31.tar.gz
opensim-SC-f41fc4eb25ade48a358511564f3911a4605c1c31.tar.bz2
opensim-SC-f41fc4eb25ade48a358511564f3911a4605c1c31.tar.xz
Avoid a deadlock where a script can attempt to take a ScriptInstance.m_Scripts lock then a lock on SP.m_attachments whilst SP.MakeRootAgent() attempts to take in the opposite order.
This is because scripts (at least on XEngine) start unsuspended - deceptively the ResumeScripts() calls in various places in the code are actually completely redundant (and useless). The solution chosen here is to use a copy of the SP attachments and not have the list locked whilst creating the scripts when an avatar enters the region. This looks to address http://opensimulator.org/mantis/view.php?id=6557
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions