[2026-04-28]Building a C Thread Pool #5:
After Building a Thread Pool: What Do Real Concurrent Systems Still Need?
In the first four articles, we built a teaching version of a thread pool from scratch.
CThreadPoolConcurrency
[2026-04-28]Building a C Thread Pool #4:
Putting the Thread Pool Together: Submit, Execute, Wait, and Destroy
In the previous articles, we built the main pieces of a thread pool one by one.
CThreadPoolpthread
[2026-04-28]Building a C Thread Pool #3:
A Mutex Is Not Enough: How Do Condition Variables Let Threads Sleep?
In the previous article, we added a mutex to the task queue.
CThreadPoolConditionVariable
[2026-04-28]Building a C Thread Pool #2:
Why Do Multiple Threads Corrupt a Queue?
Use the example of two workers taking tasks at the same time to understand what a mutex actually protects.
CThreadPoolMutex
[2026-04-28]Building a C Thread Pool #1:
Before Building a Thread Pool: How Do We Put Tasks into a Queue in C?
When people first hear "thread pool", the first picture in their head is often:
CThreadPoolConcurrency