首页> 外文期刊>Concurrency and Computation >A comparison of concurrent programming and cooperative multithreading
【24h】

A comparison of concurrent programming and cooperative multithreading

机译:并发编程与协作多线程的比较

获取原文
获取原文并翻译 | 示例

摘要

This paper presents a comparison of the cooperative multithreading model with the general concurrent programming model. It focuses on the execution time performance of a range of standard concurrent programming applications. The overall results are mixed. In some cases, programs written in the cooperative multithreading model outperform those written in the general concurrent programming model. The contributions of this paper are twofold. First, it presents a thorough analysis of the performances of applications in the different models, i.e. to explain the criteria that determine when a program in one model will outperform an equivalent program in the other. Second, it examines the tradeoffs in writing programs in the different programming styles. In some cases, better performance conies at the cost of more complicated code.
机译:本文介绍了协作多线程模型与通用并发编程模型的比较。它着重于一系列标准并发编程应用程序的执行时间性能。总体结果好坏参半。在某些情况下,用协作多线程模型编写的程序要优于用通用并发编程模型编写的程序。本文的贡献是双重的。首先,它提供了对不同模型中应用程序性能的全面分析,即解释了确定一个模型中的程序何时将胜过另一个模型中的等效程序的标准。其次,它研究了以不同的编程风格编写程序的权衡。在某些情况下,更好的性能会降低代码复杂度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号