mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
dont try dequeues if didnt reacquired lock
This commit is contained in:
@@ -78,7 +78,8 @@ namespace OpenSim.Framework
|
||||
{
|
||||
if (m_queue.Count < 1 && m_pqueue.Count < 1)
|
||||
{
|
||||
Monitor.Wait(m_queueSync, msTimeout);
|
||||
if(!Monitor.Wait(m_queueSync, msTimeout))
|
||||
return default(T);
|
||||
}
|
||||
|
||||
if (m_pqueue.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user