mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
make some threads background ones
This commit is contained in:
@@ -171,7 +171,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
m_workerThreads[i] = WorkManager.StartThread(DoMeshRequests,
|
||||
String.Format("GetMeshWorker{0}", i),
|
||||
ThreadPriority.Normal,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
null,
|
||||
int.MaxValue);
|
||||
|
||||
@@ -139,7 +139,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
m_workerThreads[i] = WorkManager.StartThread(DoTextureRequests,
|
||||
String.Format("GetTextureWorker{0}", i),
|
||||
ThreadPriority.Normal,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
null,
|
||||
int.MaxValue);
|
||||
|
||||
@@ -136,6 +136,7 @@ namespace OpenSim.Services.Connectors
|
||||
for (int i = 0 ; i < 2 ; i++)
|
||||
{
|
||||
m_fetchThreads[i] = new Thread(AssetRequestProcessor);
|
||||
m_fetchThreads[i].IsBackground = true;
|
||||
m_fetchThreads[i].Start();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user