Multithreading C Projects Summary C projects using complex C-level concepts such as pthread, semaphores and fork/join. Instructions You can compile any of the C programs using gcc <nameOfFile>.c -o <outputName> -lpthread. Execute the compiled file using ./<outputName>.