Premium
Experiences with coroutines in BCPL
Author(s) -
Atkins Stella,
Knight Brian
Publication year - 1983
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380130809
Subject(s) - computer science , task (project management) , event (particle physics) , routing (electronic design automation) , programming language , parallel computing , computer network , engineering , physics , systems engineering , quantum mechanics
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.