mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Revert "Do the same trick that dahlia did for Dequeue(timeout)"
This reverts commit af792bc7f2.
This commit is contained in:
@@ -76,10 +76,9 @@ namespace OpenSim.Framework
|
||||
{
|
||||
lock (m_queueSync)
|
||||
{
|
||||
bool timedout = false;
|
||||
while (m_queue.Count < 1 && m_pqueue.Count < 1 && !timedout)
|
||||
if (m_queue.Count < 1 && m_pqueue.Count < 1)
|
||||
{
|
||||
timedout = Monitor.Wait(m_queueSync, msTimeout);
|
||||
Monitor.Wait(m_queueSync, msTimeout);
|
||||
}
|
||||
|
||||
if (m_pqueue.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user