diff options
author | Justin Clark-Casey (justincc) | 2012-07-31 23:57:57 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-31 23:57:57 +0100 |
commit | 7609daca388d1acbe8da7eaf407c0b3f4da1fd80 (patch) | |
tree | faaf03a514ab3227270cb83cdfb1d2c5a938714d /bin/assets/GesturesAssetSet | |
parent | Fix bug in SoundModule.TriggerSound() where every sound update to an avatar w... (diff) | |
download | opensim-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 'bin/assets/GesturesAssetSet')
0 files changed, 0 insertions, 0 deletions