Code samples used in Concurrent lecture.