Javascript must be enabled to continue!
Continuations and concurrency
View through CrossRef
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.
Title: Continuations and concurrency
Description:
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.
Related Results
DOMASCOS (DOMAin Specific COncurrency Skeletons)
DOMASCOS (DOMAin Specific COncurrency Skeletons)
Existing approaches to concurrent programming, albeit essential, are easily used incorrectly. Testing is difficult due to the inherent non-determinism introduced by concurrency, es...
RANULF HIGDEN'S POLYCHRONICON AND CONTINUATIONS: TEXTS AND MANUSCRIPTS
RANULF HIGDEN'S POLYCHRONICON AND CONTINUATIONS: TEXTS AND MANUSCRIPTS
Ranulf Higden's Polychronicon was the most widely read Latin chronicle of late medieval England. It (and its later continuations) influenced the production of several major chronic...
Concurrent Scaling: Evaluating AWS Lambda Performance through Load Testing
Concurrent Scaling: Evaluating AWS Lambda Performance through Load Testing
Abstract
In the dynamic environment of serverless computing, efficient concurrency management and reasonable utilization of load testing techniques closely correlate with p...
Not that Concurrent!
Not that Concurrent!
Concurrency is, in the literature, often used as a noun with a range of strengths: there is more or less concurrency; it is more or less limited; it may even be seen described as c...
Locality, causality and continuations
Locality, causality and continuations
Concurrency and distribution are topics exacerbated by the omnipresence of Internet. Although many languages address these topics, few offer a real opportunity to control and coord...
Limits to Concurrency*
Limits to Concurrency*
ABSTRACTIn the global race to bring new products to market, many firms have adopted concurrent engineering as a technique to shrink development lead time. Due to the many concurren...
Message-Passing Concurrency Shootout
Message-Passing Concurrency Shootout
In the last few years, there have been a number of new programming languages which incorporate message-passing concurrency. Examples, such as Google's Go and Mozilla's Rust, have s...
Presuppositions : an experimental investigation
Presuppositions : an experimental investigation
Présuppositions : une investigation expérimentale
Les locuteurs communiquent plus que ce qu’ils disent explicitement. C’est pourquoi les destinataires s’appuient su...

