Monthly Archives: September 2012

Models of Threaded Programming: Pipeline

While studying David Butenhof’s classic Programming with POSIX Threads I sketched out the following diagram to help me visualize the example ‘Pipeline’ threading model (for which he provides the source code in Chapter 4). I have simplified this somewhat (for example, as is standard practice, the predicate is actually checked both before and after the […]