aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-05-25 04:51:45 +0100
committerUbitUmarov2017-05-25 04:51:45 +0100
commite5377eb839fe9edecae4063a823ff8bf10768b1c (patch)
tree3ff7b6149aefa6cbb4119f0f7583451d12c2246f /OpenSim
parentminor changes (diff)
downloadopensim-SC_OLD-e5377eb839fe9edecae4063a823ff8bf10768b1c.zip
opensim-SC_OLD-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.gz
opensim-SC_OLD-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.bz2
opensim-SC_OLD-e5377eb839fe9edecae4063a823ff8bf10768b1c.tar.xz
use threads from main pool on assetsconnector
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Util.cs1
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs4
2 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index 3342df3..5eedd29 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -2579,7 +2579,6 @@ namespace OpenSim.Framework
2579 } 2579 }
2580 catch (ThreadAbortException e) 2580 catch (ThreadAbortException e)
2581 { 2581 {
2582 m_log.Error(string.Format("Aborted threadfunc {0} ", threadFuncNum), e);
2583 } 2582 }
2584 catch (Exception e) 2583 catch (Exception e)
2585 { 2584 {
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
index 62d13fc..2deb2d1 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
@@ -135,9 +135,7 @@ namespace OpenSim.Services.Connectors
135 135
136 for (int i = 0 ; i < 2 ; i++) 136 for (int i = 0 ; i < 2 ; i++)
137 { 137 {
138 m_fetchThreads[i] = new Thread(AssetRequestProcessor); 138 Util.FireAndForget(delegate { AssetRequestProcessor();});
139 m_fetchThreads[i].IsBackground = true;
140 m_fetchThreads[i].Start();
141 } 139 }
142 } 140 }
143 141