【24h】

A model of cooperative threads

机译:合作线程模型

获取原文

摘要

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.
机译:我们开发了一种用线程并发命令编程模型。我们专注于一个小型的命令语言,与合作线程在没有中断的情况下,直到它们终止或明确屈服于控制。我们定义并研究这种语言的基于踪迹的语义语义;这个语义是完全抽象的,但数学上基本。我们还为以下语言提出的计算效果提供了一项公正理论,包括线程产卵。然后,我们以免费的代数Monad为此理论来分析线程。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号