diff options
author | Justin Clark-Casey (justincc) | 2012-10-26 23:08:59 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-26 23:08:59 +0100 |
commit | 67432fcbf2b9ad58e83eb55f789c28ffd9ab572b (patch) | |
tree | eab663b3788f973b25b5aa79722f218554ccf8a8 /OpenSim/Framework/ChildAgentDataUpdate.cs | |
parent | minor: Make the error thrown logged when a simulator in grid mode is trying t... (diff) | |
download | opensim-SC_OLD-67432fcbf2b9ad58e83eb55f789c28ffd9ab572b.zip opensim-SC_OLD-67432fcbf2b9ad58e83eb55f789c28ffd9ab572b.tar.gz opensim-SC_OLD-67432fcbf2b9ad58e83eb55f789c28ffd9ab572b.tar.bz2 opensim-SC_OLD-67432fcbf2b9ad58e83eb55f789c28ffd9ab572b.tar.xz |
Fix "save iar" hanging permanently if the asset request phase times out.
Unlike "save oar", this was happening on the same thread as the original request.
The timeout happens on another so the original thread is never aborted.
On "save oar" this leaves the thread hanging (still bad) but on "save iar" it left the console thread hanging.
Temporary fix is to make "save iar" do asset request on a separate thread, like "save oar".
Longer term fix will be to restructure asset save to use a ManualResetEvent rather than a separate timeout timer.
Diffstat (limited to 'OpenSim/Framework/ChildAgentDataUpdate.cs')
0 files changed, 0 insertions, 0 deletions