import std.parallelism, std.stdio, std.range; void main() { defaultPoolThreads = 1; foreach(i; taskPool.parallel(8.iota)) taskPool.workerIndex.writeln; } ===== current output: 0 0 0 0 0 0 0 0 ===== expected output according to the documentation: 1 1 1 1 1 1 1 1
Can't see why this should be a blocker, nor why it is trivial.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10354 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB