Re: taskPool.reduce() help

2015-11-28 Thread Ali Çehreli via Digitalmars-d-learn
On 11/28/2015 01:57 PM, Ish wrote: The following code does not compile (with gdc) but if the line containing taskPool.reduce is reduce it does compile. Any pointers will be appreciated. import std.stdio; import std.math; import std.algorithm; import std.parallelism; // does not work!! import cor

taskPool.reduce() help

2015-11-28 Thread Ish via Digitalmars-d-learn
The following code does not compile (with gdc) but if the line containing taskPool.reduce is reduce it does compile. Any pointers will be appreciated. import std.stdio; import std.math; import std.algorithm; import std.parallelism; // does not work!! import core.thread; double aCalculation(dou