Experiences with coroutines in BCPL
Stella Atkins, Brian Knight · Software Practice and Experience · 1983
Abstract This communication describes a typical application of BCPL coroutines in simplifying the implementation of a multi‐event task, together with some problems encountered. The problems fall into two major groups: those associated with the routing of operating system messages to coroutines within a task, and those connected with data shared between coroutines. General solutions are suggested to these problems, which can occur in any program employing similar structures.