Code from the book: Seven Concurrency Models in Seven Weeks: When Threads Unravel by Paul Butcher