9 references to _queue
Microsoft.ML.Core (9)
Utilities\ThreadUtils.cs (9)
108
lock (
_queue
)
110
_queue
.Enqueue(item);
112
if (
_queue
.Count <= _availableThreads)
114
Monitor.Pulse(
_queue
);
130
lock (
_queue
)
135
while (
_queue
.Count == 0)
137
if (!Monitor.Wait(
_queue
, IdleMilliseconds))
139
if (
_queue
.Count > 0)
154
item =
_queue
.Dequeue();