These are pthread implementations of the count threes parallel examples from the first chapter of the textbook, "Principles of Parallel Programming" by Lin and Snyder. Compile them with: gcc [prog.c] -o [progname] -pthread Then you can time and compare their results.