We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
Can't see why this should be a blocker, nor why it is trivial.
Sorry, something went wrong.
No branches or pull requests
ilyayaroshenko reported this on 2018-10-24T07:01:54Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=19330
CC List
Description
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 1The text was updated successfully, but these errors were encountered: