Orion S. Lawlor (ffosl@uaf.edu) CS 321, 2005/2 Flow of Control Example Code: events, processes, threads (kernel), and user-level threads COMPILATION: For "events", use the provided Makefile, or compile both the .cpp files. "events" should build everywhere. The remaining programs are UNIX-specific. The "threads" programs must be linked with "-lpthread" (the pthreads library). See the comments at the top of each file for details on what the programs do. "example.cpp" is the simplest example in each directory; the other files are more complicated or different versions.