首页> 外文会议>WoTUG Technical Meeting >C++CSP2: A Many-to-Many Threading Model for Multicore Architectures
【24h】

C++CSP2: A Many-to-Many Threading Model for Multicore Architectures

机译:C ++ CSP2:多核架构的多对多线程模型

获取原文

摘要

The advent of mass-market multicore processors provides exciting new opportunities for parallelism on the desktop. The original C++CSP - a library providing concurrency in C++ - used only user-threads, which would have prevented it taking advantage of this parallelism. This paper details the development of C++CSP2, which has been built around a many-to-many threading model that mixes user-threads and kernel-threads, providing maximum flexibility in taking advantage of multicore and multi-processor machines. New and existing algorithms are described for dealing with the run-queue and implementing channels, barriers and mutexes. The latter two are benchmarked to motivate the choice of algorithm. Most of these algorithms are based on the use of atomic instructions, to gain maximal speed and efficiency. Other issues related to the new design and related to implementing concurrency in a language like C++ that has no direct support for it, are also described. The C++CSP2 library will be publicly released under the LGPL before CPA 2007.
机译:大众市场多核处理器的出现为桌面上的并行性提供了令人兴奋的新机会。原始C ++ CSP - 提供C ++中的并发性的库 - 仅使用用户线程,这将防止它利用这种并行性。本文详细介绍了C ++ CSP2的开发,它围绕混合用户线程和内核线程的多对多线程模型构建,从而提供了利用多核和多处理器机器的最大灵活性。描述用于处理运行队列和实现频道,障碍和互斥锁的新和现有算法。后两者是基准测试以激励算法的选择。这些算法中的大多数基于原子指令的使用,获得最大速度和效率。还描述了与新设计相关的其他问题以及与对其没有直接支持的C ++这样的语言实施并发。在CPA 2007之前,C ++ CSP2库将在LGPL下公开发布。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号