The Cilk runtime instead uses a technique called “work stealing.”
而Cilk“运行时间”运用了“工作偷取”技术。
The fork-join framework reduces contention for the work queue by using a technique known as work stealing.
fork - join框架通过一种称作工作窃取(work stealing)的技术减少了工作队列的争用情况。
Work stealing thus produces reasonable load balancing with no central coordination and minimal synchronization costs.
因此,工作窃取实现了合理的负载平衡,无需进行协调并且将同步成本降到了最小。
应用推荐