Implementation of various constructs from "The Art of Multiprocessor Programming"