How to Cancel a Task

How to Cancel a Task
复制标题

如何取消任务

DOI:
--
复制
发表时间:
2013
期刊:
International Conference on Multicore Software Engineering, Performance, and Tools
影响因子:
--
通讯作者:
B. Meyer
B. Meyer
中科院分区:
--
文献类型:
--
作者:
A. Kolesnichenko;Sebastian Nanz;B. Meyer

文献摘要

被引文献

相似文献

任务并行在基于事件的、分布式或反应式系统的现代应用中无处不在。在这种类型的编程中,取消正在运行的任务的能力是一个关键特性。虽然有各种各样的取消技术,一个全面的帐户,他们的特点是失踪。本文对任务取消模式进行了分类,并详细分析了它们的优缺点。一种有前途的方法是协作取消,其中线程必须不断地为外部取消请求做好准备。基于这种模式,我们提出了一个扩展的SCOOP,面向对象的并发模型。
Task parallelism is ubiquitous in modern applications for event-based, distributed, or reactive systems. In this type of programming, the ability to cancel a running task arises as a critical feature. Although there are a variety of cancellation techniques, a comprehensive account of their characteristics is missing. This paper provides a classification of task cancellation patterns, as well as a detailed analysis of their advantages and disadvantages. One promising approach is cooperative cancellation, where threads must be continuously prepared for external cancellation requests. Based on this pattern, we propose an extension of SCOOP, an object-oriented concurrency model.