Semaphores, task masters, single-process testing