diff options
author | Justin Clark-Casey (justincc) | 2013-08-17 00:56:19 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-17 00:56:19 +0100 |
commit | 77d418a36d532e9aaf756858ff97c15edf04759a (patch) | |
tree | 165079c42313069670e97b091ae327bec55910fe /OpenSim | |
parent | minor: remove mono compiler warning in StatsManager (diff) | |
download | opensim-SC_OLD-77d418a36d532e9aaf756858ff97c15edf04759a.zip opensim-SC_OLD-77d418a36d532e9aaf756858ff97c15edf04759a.tar.gz opensim-SC_OLD-77d418a36d532e9aaf756858ff97c15edf04759a.tar.bz2 opensim-SC_OLD-77d418a36d532e9aaf756858ff97c15edf04759a.tar.xz |
remove mono compiler warnings from PollServiceRequestManager
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index 6ab05d0..6aa5907 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -51,10 +51,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
51 | 51 | ||
52 | private uint m_WorkerThreadCount = 0; | 52 | private uint m_WorkerThreadCount = 0; |
53 | private Thread[] m_workerThreads; | 53 | private Thread[] m_workerThreads; |
54 | private Thread m_longPollThread; | ||
55 | 54 | ||
56 | private bool m_running = true; | 55 | private bool m_running = true; |
57 | private int slowCount = 0; | ||
58 | 56 | ||
59 | private SmartThreadPool m_threadPool = new SmartThreadPool(20000, 12, 2); | 57 | private SmartThreadPool m_threadPool = new SmartThreadPool(20000, 12, 2); |
60 | 58 | ||
@@ -83,7 +81,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
83 | int.MaxValue); | 81 | int.MaxValue); |
84 | } | 82 | } |
85 | 83 | ||
86 | m_longPollThread = Watchdog.StartThread( | 84 | Watchdog.StartThread( |
87 | this.CheckLongPollThreads, | 85 | this.CheckLongPollThreads, |
88 | string.Format("LongPollServiceWatcherThread:{0}", m_server.Port), | 86 | string.Format("LongPollServiceWatcherThread:{0}", m_server.Port), |
89 | ThreadPriority.Normal, | 87 | ThreadPriority.Normal, |
@@ -136,7 +134,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
136 | Thread.Sleep(500); | 134 | Thread.Sleep(500); |
137 | Watchdog.UpdateThread(); | 135 | Watchdog.UpdateThread(); |
138 | 136 | ||
139 | List<PollServiceHttpRequest> not_ready = new List<PollServiceHttpRequest>(); | 137 | // List<PollServiceHttpRequest> not_ready = new List<PollServiceHttpRequest>(); |
140 | lock (m_longPollRequests) | 138 | lock (m_longPollRequests) |
141 | { | 139 | { |
142 | if (m_longPollRequests.Count > 0 && m_running) | 140 | if (m_longPollRequests.Count > 0 && m_running) |