POSIX Threads
Learn how parallel programming is a complex affair and get introduced to the POSIX thread library as the first of many tools we want to talk about.
We'll cover the following...
Multithreading
The threads model of parallel programming is one in which a single process (a single program) can spawn multiple, concurrent “threads” (sub-programs). Each thread runs independently of the others, although they can all access the same shared memory space (and hence they can communicate with each other if necessary). Threads can be spawned and killed as required, by the main program.
Once spawned by a program, threads are ...