https://khurd21.github.io/posts/cpp-threads/
Threading in C - Kyle Hurd