Multithreaded C++: Build a Job Scheduler
Build a thread pool and job scheduler with futures, priorities and cancellation — and prove it has no data races.
- Advanced
- 21 lessons · 4h 5m of video
- English
- Updated Oct 2026
The route
Curriculum
5 modules · 21 lessons · 4h 5m of video
-
1
47m
Threads and shared state
4 lessons
-
2
59m
The thread pool
5 lessons
-
3
56m
Priorities and futures
5 lessons
-
4
44m
Cancellation and shutdown
4 lessons
-
5
39m
Testing for races
3 lessons
Destination
What you will be able to do
- Build a thread pool with std::jthread
- Coordinate work with condition variables and atomics
- Return results through futures and promises
- Cancel work cleanly with stop tokens
- Detect data races with ThreadSanitizer
Before you buy
You will need
- Confident C++ with classes and templates
- Linux or macOS with GCC or Clang
About this course
The journey
Instead of studying threads in the abstract, you build one serious piece of concurrent software: a job scheduler with a thread pool, priority queues, futures for results, cancellation and graceful shutdown.
Each feature introduces the tool it needs — mutexes, condition variables, atomics, std::jthread and stop tokens — and every step is checked with ThreadSanitizer, so you learn to find races rather than hope you avoided them.
How this course is made
This course was created by KOODIJAAM OÜ using AI tools: the lessons, exercises and example code are AI-generated, and the preview video is generated automatically from the course code.
You can watch the preview and read the full lesson list on this page before you buy. If you find a mistake, tell us — we fix it, and the fix reaches everyone who owns the course.
Information desk
Frequently asked questions
Still unsure about something? Write to support@koodijaam.com and a human answers, usually the same working day.
What students say
No reviews yet
Nobody has reviewed this course yet, so there is no score to show. Buy it, work through it, and your review could be the one that helps the next developer decide.
Roblox, Luau, SAS, Microsoft, .NET, Blazor, Avalonia, Neovim, NGINX, OpenResty, LÖVE, PyTorch, NumPy and other product names are trademarks of their respective owners. Koodijaam is an independent course provider and is not affiliated with or endorsed by them.
One-time payment · no expiry