Added ability to use SmartThreadPool

This commit is contained in:
Latif Khalifa
2013-07-18 20:00:11 +02:00
parent 21f82ab380
commit f1b8fcaf47
10 changed files with 248 additions and 14 deletions

View File

@@ -515,7 +515,7 @@ namespace OpenMetaverse
nextTask.RequestSlot = slot;
//Logger.DebugLog(String.Format("Sending Worker thread new download request {0}", slot));
ThreadPool.QueueUserWorkItem(TextureRequestDoWork, nextTask);
WorkPool.QueueUserWorkItem(TextureRequestDoWork, nextTask);
continue;
}
}