A model of cooperative threads
From MaRDI portal
Publication:3064166
Abstract: We develop a model of concurrent imperative programming with threads. We focus on a small imperative language with cooperative threads which execute without interruption until they terminate or explicitly yield control. We define and study a trace-based denotational semantics for this language; this semantics is fully abstract but mathematically elementary. We also give an equational theory for the computational effects that underlie the language, including thread spawning. We then analyze threads in terms of the free algebra monad for this theory.
Recommendations
Cited in
(8)- Dynamic structural operational semantics
- Compiling cooperative task management to continuations
- Fair Cooperative Multithreading
- A model of cooperative threads
- Asynchronous Cooperative Contracts for Cooperative Scheduling
- An algebraic theory for shared-state concurrency
- A comparison of concurrent programming and cooperative multithreading
- Trampolined style
This page was built for publication: A model of cooperative threads
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3064166)