fork-join

fork-join

美  英

  • 网络分支聚合活动;并行块;并行语句块

例句

It's easy to express such problems using fork-join, as you saw in the previous installment.

用fork-join可以很容易地表示这类问题,正如您在上一期中看到的那样。

Each of these problems can be easily parallelized using divide-and-conquer, and can be easily represented as fork-join tasks.

其中的每个问题都可以用divide-and-conquer轻松地并行化,并能轻松地表示为fork-join任务。

The fork-join framework reduces contention for the work queue by using a technique known as work stealing.

fork-join框架通过一种称作工作窃取(workstealing)的技术减少了工作队列的争用情况。

Furthermore, computing the right multiplicities can be challenging in models with more complex fork-join structures.

而且,在一个使用更复杂的fork-join结构的模型中,要计算出正确的增殖次数也并非易事。

A fork-join framework like the one illustrated in Listing 3 can be implemented in many ways.

可以有很多方法实现清单3中演示的fork-join框架。

To this end, Java 7 will include a framework for representing a certain class of finer-grained parallel algorithms: the fork-join framework.

最终,Java7将会包含一种框架,用于表示某种更细粒度并行算法的类:fork-join框架。

The principal benefit of using the fork-join technique is that it affords a portable means of coding algorithms for parallel execution.

使用fork-join技术的主要好处是,它提供了一种编写并行执行的算法的简便方法。

In this regard, JPFF can be viewed as an extended, distributed fork-join framework.

从这个角度来讲,我们可以把JPPF看作一个扩展的、分布式的fork-join框架。

You then use the description to actually execute the array operations (which uses the fork-join framework under the hood) in parallel.

然后用该描述并行地执行数组操作(幕后使用的是fork-join框架)。

Listing 2 shows an example of a problem that is suitable to a fork-join solution: searching a large array for its maximal element.

清单2显示了一个适合使用fork-join解决方案的问题示例:在大型数组中搜索其中的最大元素。

The pattern in Figure 14 presents the correct way to model parallel branching by using a matching fork-join pair.

图14中的模式展示了使用匹配的fork-join对建立并行分支模型的正确方法。

When . NET 4. 0 was released the most common scenario was fork-join style programming such as seen with Parallel. ForEach and Parallel LINQ.

NET4.0发布的时候,最常见的情形是分支合并(fork-join)样式的编程,就像我们在Parallel.ForEach和ParallelLINQ中看到的那样。

In the last installment of Java theory and practice, we examined the fork-join library, which will be added to the java. util. concurrent

在上一期Java理论与实践中,我们研究了fork-join库,这个库将添加到Java7的java.util.concurrent包中。

Listing 1. Merge-sort using the fork-join library

清单1.使用fork-join库进行合并排序