1 write to _workItemQueue
Microsoft.CodeAnalysis.Features (1)
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (1)
55
_workItemQueue
= new AsyncDocumentWorkItemQueue(processor._registration.ProgressReporter, processor._registration.Workspace);
11 references to _workItemQueue
Microsoft.CodeAnalysis.Features (11)
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (11)
69
var added =
_workItemQueue
.AddOrReplace(item);
98
=>
_workItemQueue
.WaitAsync(cancellationToken);
101
public int WorkItemCount =>
_workItemQueue
.WorkItemCount;
102
public bool HasAnyWork =>
_workItemQueue
.HasAnyWork;
129
if (!
_workItemQueue
.TryTakeAnyWork(
178
_workItemQueue
.RequestCancellationOnRunningTasks();
230
if (!
_workItemQueue
.TryTake(documentId, out var workItem, out var documentCancellation))
337
_workItemQueue
.AddOrReplace(workItem.Retry(Listener.BeginAsyncOperation("ReenqueueWorkItem")));
343
_workItemQueue
.MarkWorkItemDoneFor(workItem.DocumentId);
535
_workItemQueue
.Dispose();
563
while (_normalPriorityProcessor.
_workItemQueue
.HasAnyWork)