In this talk I'd like to explore what one can learn from building a simple thread pool in C++20. The talk looks at how the Consumer - Producer pattern is similar to a thread pool, as one part produces scheduled elements for execution.
The talk is based on a simple prototype thread pool implementation I've toyed around with in Compiler Explorer. Noticing that various concurrency elements of C++ play together to form a thread pool at the end. I hope this helps folks with understanding how these elements play together in C++.