Chapter 'Designing a Concurrent Application', part of section 'An Event Module'