【24h】

Thick Control Flows: Introduction and Prospects

机译:厚控流量:介绍和前景

获取原文

摘要

Besides correctness of programing, the technical software problem of many contemporary approaches to multithreaded computations is how to organize the co-operation of a huge number of parallel threads. For the software problems, we propose parallel thick control flows as the solution. When a thick control flow (in terms of the number of threads) is executing a statement or an expression of a program, all the threads are considered to execute the same program element synchronously in parallel. Considering method calls, when a control flow with thickness t calls a method, the method is not called separately by each of the t threads, but the control flow calls it only once with t threads. A call stack is not related to each thread but to each of the parallel control flows, since threads do not have program counters - only control flows have program counters. The concept of thread is only implicit. A thick thread-wise variable is an array-like value having a thread-wise actual value. Method signatures naturally advance types with thickness, but non-thick types are also useful. The concept of thick control flow makes the programmer to focus on co-operation of few parallel thick control flows instead of a huge number of parallel threads. The concept computation's state is promoted as a flow is seen to have a state (instead of each thread). The concept of state has been in a central role in achieving correctness in sequential programs. The concept of thick control flows is related to data parallelism and stream computing. It is a natural generalization of ordinary imperative sequential programming.
机译:除了编程的正确性外,许多当代多线程计算方法的技术软件问题是如何组织大量并行线程的合作。对于软件问题,我们提出了并行厚的控制流量作为解决方案。当厚的控制流(根据线程的数量)正在执行语句或程序的表达式时,所有线程被认为是并行同步执行相同的程序元素。考虑方法调用,当具有厚度t调用方法的控制流程时,该方法不会被每个t线程单独调用,但是控制流量仅用T线程呼叫一次。呼叫堆栈与每个线程无关,而是对每个并行控制流程,因为线程没有程序计数器 - 只有控制流具有程序计数器。线程的概念仅是隐式的。厚的线程变量是具有线程实际值的阵列类似的值。方法签名自然提前类型的厚度,但非厚的类型也是有用的。厚控制流的概念使程序员专注于几个平行厚控制流的合作,而不是大量的并行线程。概念计算的状态被推广,因为流程被视为具有状态(而不是每个线程)。国家的概念在实现顺序计划中的正确性方面是一个核心作用。厚控流的概念与数据并行和流计算有关。它是普通势在一体顺序编程的自然概括。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号