Not sure if it helps, but I used this site a lot in grad school when I was using pthreads.

https://computing.llnl.gov/tutorials/pthreads/