revert last commit which seems to conflict with DoubleQueue internals. The random crash might be in DoubleQueue instead. See http://pastebin.com/XhNBNqsc
parent
70aa77f520
commit
6dd454240f
|
@ -254,13 +254,10 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lock (m_queue)
|
if (highPriority)
|
||||||
{
|
m_queue.EnqueueHigh(reqinfo);
|
||||||
if (highPriority)
|
else
|
||||||
m_queue.EnqueueHigh(reqinfo);
|
m_queue.EnqueueLow(reqinfo);
|
||||||
else
|
|
||||||
m_queue.EnqueueLow(reqinfo);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NoEvents = (x, y) =>
|
NoEvents = (x, y) =>
|
||||||
|
@ -348,9 +345,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||||
{
|
{
|
||||||
Watchdog.UpdateThread();
|
Watchdog.UpdateThread();
|
||||||
|
|
||||||
aPollRequest poolreq = null;
|
aPollRequest poolreq = m_queue.Dequeue();
|
||||||
lock (m_queue)
|
|
||||||
poolreq = m_queue.Dequeue();
|
|
||||||
|
|
||||||
if (poolreq != null && poolreq.thepoll != null)
|
if (poolreq != null && poolreq.thepoll != null)
|
||||||
poolreq.thepoll.Process(poolreq);
|
poolreq.thepoll.Process(poolreq);
|
||||||
|
|
Loading…
Reference in New Issue