aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Simulation/SimulationDataService.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-31 23:57:57 +0100
committerJustin Clark-Casey (justincc)2012-07-31 23:57:57 +0100
commit7609daca388d1acbe8da7eaf407c0b3f4da1fd80 (patch)
treefaaf03a514ab3227270cb83cdfb1d2c5a938714d /OpenSim/Services/Connectors/Simulation/SimulationDataService.cs
parentFix bug in SoundModule.TriggerSound() where every sound update to an avatar w... (diff)
downloadopensim-SC-7609daca388d1acbe8da7eaf407c0b3f4da1fd80.zip
opensim-SC-7609daca388d1acbe8da7eaf407c0b3f4da1fd80.tar.gz
opensim-SC-7609daca388d1acbe8da7eaf407c0b3f4da1fd80.tar.bz2
opensim-SC-7609daca388d1acbe8da7eaf407c0b3f4da1fd80.tar.xz
Resolve a deadlock between INPCModule and SensorRepeat by replacing the SensorRepeat list with a new list on add/removes rather than locking it for the duration of the sensor sweep.
A deadlock was observed today where NPC removal on a script thread would lock the NPC list and then try to lock the sensor list via scripted attachment removal. Concurrently, the sensor sweep thread would lock the sensor list and then try to lock the NPC list to check NPC status. This commit resolves the deadlock by replacing the sensor list on update rather than locking it for the duration of the sweep.
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationDataService.cs')
0 files changed, 0 insertions, 0 deletions