1 write to waitingQueue
System.Workflow.Runtime (1)
Hosting\DefaultWorkflowSchedulerService.cs (1)
87
waitingQueue
= new Queue<WorkItem>();
12 references to waitingQueue
System.Workflow.Runtime (12)
Hosting\DefaultWorkflowSchedulerService.cs (12)
151
lock (
waitingQueue
)
153
int nToStart = Math.Min(maxSimultaneousWorkflows,
waitingQueue
.Count);
180
lock (
waitingQueue
)
184
Monitor.Wait(
waitingQueue
);
263
lock (
waitingQueue
)
265
waitingQueue
.Enqueue(workItem);
278
p.RawValue =
waitingQueue
.Count;
291
lock (
waitingQueue
)
293
if (
waitingQueue
.Count == 0 || !running)
296
Monitor.Pulse(
waitingQueue
);
299
workItem =
waitingQueue
.Dequeue();
305
p.RawValue =
waitingQueue
.Count;