https://bytebytego.com/guides/top-6-multithreading-design-patterns-you-must-know/
Producer-Consumer Pattern
Thread Pool Pattern
https://bytebytego.com/guides/concurrency-is-not-parallelism/
study this with Tour of Go (using Go implementations)
alternatively, watch a video with C implementation