aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/MySql.Data.dll
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 /bin/MySql.Data.dll
parentBulletSim: default PhysicsTimeStep to same as the simulator's (diff)
downloadopensim-SC_OLD-f41fc4eb25ade48a358511564f3911a4605c1c31.zip
opensim-SC_OLD-f41fc4eb25ade48a358511564f3911a4605c1c31.tar.gz
opensim-SC_OLD-f41fc4eb25ade48a358511564f3911a4605c1c31.tar.bz2
opensim-SC_OLD-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 'bin/MySql.Data.dll')
0 files changed, 0 insertions, 0 deletions