Skip to main content

Checkpoint: Exactly-Once Workers

Challenge on lesson: Checkpoint โ€” The Thread-Safe Job Queue

CHALLENGE
Difficulty: intermediate+25 XP

Implement the queue described in the checkpoint: ``csharp public sealed class JobQueue { public void Enqueue(string job); public List<string> RunAll(int workers); // joins its workers, returns results public List<string> Results { get; } } ``

Back to lesson: Checkpoint โ€” The Thread-Safe Job Queue