Examples of various common parallel problems implemented in C++ using POSIX threads.