3 instantiations of Job
Microsoft.TestPlatform.CoreUtilities (3)
Utilities\Job.cs (2)
46
var shutdownJob = new
Job
<TPayload>();
82
var waitJob = new
Job
<TPayload>();
Utilities\JobQueue.cs (1)
151
InternalQueueJob(new
Job
<T>(job, jobSize));
15 references to Job
Microsoft.TestPlatform.CoreUtilities (15)
Utilities\Job.cs (6)
17
/// Initializes a new instance of the <see cref="
Job
{TPayload}"/> class.
32
/// Prevents a default instance of the <see cref="
Job
{TPayload}"/> class from being created.
42
public static
Job
<TPayload> ShutdownJob
46
var
shutdownJob = new Job<TPayload>();
78
public static
Job
<TPayload> CreateWaitJob(ManualResetEvent waitEvent)
82
var
waitJob = new Job<TPayload>();
Utilities\JobQueue.cs (9)
36
private readonly Queue<
Job
<T>> _jobsQueue;
124
_jobsQueue = new Queue<
Job
<T>>();
187
var
waitJob =
Job
<T>.CreateWaitJob(waitEvent);
229
InternalQueueJob(
Job
<T>.ShutdownJob);
255
private void InternalQueueJob(
Job
<T> job)
303
List<
Job
<T>> jobs = new();
308
var
job = _jobsQueue.Dequeue();
332
foreach (
var
job in jobs)