3 instantiations of Job
Microsoft.TestPlatform.CoreUtilities (3)
Utilities\Job.cs (2)
42public static Job<TPayload> ShutdownJob => new() { Shutdown = true }; 73return new Job<TPayload> { WaitManualResetEvent = waitEvent };
Utilities\JobQueue.cs (1)
149InternalQueueJob(new Job<T>(job, jobSize));
13 references to Job
Microsoft.TestPlatform.CoreUtilities (13)
Utilities\Job.cs (4)
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. 42public static Job<TPayload> ShutdownJob => new() { Shutdown = true }; 69public static Job<TPayload> CreateWaitJob(ManualResetEventSlim waitEvent)
Utilities\JobQueue.cs (9)
36private readonly Queue<Job<T>> _jobsQueue; 124_jobsQueue = new Queue<Job<T>>(); 185var waitJob = Job<T>.CreateWaitJob(waitEvent); 227InternalQueueJob(Job<T>.ShutdownJob); 253private void InternalQueueJob(Job<T> job) 301List<Job<T>> jobs = new(); 306var job = _jobsQueue.Dequeue(); 330foreach (var job in jobs)