aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorDiva Canto2013-07-17 14:09:04 -0700
committerDiva Canto2013-07-17 14:09:04 -0700
commit5f95f4d78e8c7d17b8ba866907156fe6d4444c04 (patch)
treea1fcb24399b9a2f9527d1a24472e06c6733cd6a1 /OpenSim/Framework
parentI confuse myself. Let's try this variable name instead. (diff)
downloadopensim-SC-5f95f4d78e8c7d17b8ba866907156fe6d4444c04.zip
opensim-SC-5f95f4d78e8c7d17b8ba866907156fe6d4444c04.tar.gz
opensim-SC-5f95f4d78e8c7d17b8ba866907156fe6d4444c04.tar.bz2
opensim-SC-5f95f4d78e8c7d17b8ba866907156fe6d4444c04.tar.xz
Now trying DoubleQueue instead of BlockingQueue for the PollServiceRequestManager.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index c50df5a..bad28e4 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -46,7 +46,7 @@ namespace OpenSim.Framework.Servers.HttpServer
46 46
47 private readonly BaseHttpServer m_server; 47 private readonly BaseHttpServer m_server;
48 48
49 private BlockingQueue<PollServiceHttpRequest> m_requests = new BlockingQueue<PollServiceHttpRequest>(); 49 private DoubleQueue<PollServiceHttpRequest> m_requests = new DoubleQueue<PollServiceHttpRequest>();
50 private static Queue<PollServiceHttpRequest> m_longPollRequests = new Queue<PollServiceHttpRequest>(); 50 private static Queue<PollServiceHttpRequest> m_longPollRequests = new Queue<PollServiceHttpRequest>();
51 51
52 private uint m_WorkerThreadCount = 0; 52 private uint m_WorkerThreadCount = 0;
@@ -163,7 +163,7 @@ namespace OpenSim.Framework.Servers.HttpServer
163 m_requests.Enqueue(m_longPollRequests.Dequeue()); 163 m_requests.Enqueue(m_longPollRequests.Dequeue());
164 } 164 }
165 165
166 while (m_requests.Count() > 0) 166 while (m_requests.Count > 0)
167 { 167 {
168 try 168 try
169 { 169 {