1990 · 63 citations · 13 references
ComputingComputer ScienceComputer ArchitectureData StructuresProgramming LanguagesConcurrency AnalysisConcurrency ControlConcurrent ModelingConcurrent ProgrammingIntermediate RepresentationBreadth-first SearchConcurrency Control FlowConcurrency HandlingConcurrency PrimitivesConcurrent ComputationControl StructuresException HandlingTree Searching Algorithms
Continuations have proven to be useful for implementing a variety of control structures, including exception handling facilities and breadth-first searching algorithms. However, traditional continuations are not useful in the presence of concurrency, because the notion of the rest of the computation represented by a continuation does not in general make sense. This paper presents a new type of continuation, called a process continuation, that may be used to control tree-structured concurrency. Just as a traditional continuation represents the rest of a computation from a given point in the computation, a process continuation represents the rest of a subcomputation, or process, from a given point in the subcomputation. Process continuations allow nonlocal exits to arbitrary points in the process tree and allow the capture of a subtree of a computation as a composable continuation for later use. Even in the absence of multiple processes, the precise control achievable with process continuations makes them more useful than traditional continuations.
13
Revised report on the algorithmic language ALGOL 60
John Backus, Friedrich L. Bauer, J. Green et al. · Communications of the ACM · 1963 · 909 citations · Full text
Revised3 report on the algorithmic language scheme
J. Rees, William Clinger · ACM SIGPLAN Notices · 1986 · 511 citations · Full text
The theory and practice of first-class prompts
Matthias Felleisen · 1988 · 291 citations
Representing control in the presence of first-class continuations
Robert Hieb, R. Kent Dybvig, Carl Bruggeman · 1990 · 118 citations