POSIX threads, or pthreads, provide operating-system-managed threads for concurrent work. Unlike green threads maintained by a language or runtime, these threads are scheduled by the operating system and can provide parallelism when multiple processing units are available. section 8.4
Threaded computation
A Python program can submit separate Mandelbrot calculations to a four-worker ThreadPoolExecutor and await them alongside asyncio tasks. This tests whether CPU-bound or externally blocked work benefits from operating-system threads; asynchronous execution alone may show little improvement. section 8.4
Figure 8.5 Within our box, we do not know how many crushers we have, and we have no guarantee of the order. Adding more crushers adds more throughput.
The crusher analogy visualizes how additional operating-system workers can increase throughput while completion order remains unpredictable. section 8.4

