November 13, 2014 [Issue 11862] Using byChunk inside a std.parallelism's parallel loop causes crash when compiled in 32 bits | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11862 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=13727 -- |
January 14, 2023 [Issue 11862] Using byChunk inside a std.parallelism's parallel loop causes crash when compiled in 32 bits | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=11862 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@geany.org --- Comment #2 from Nick Treleaven <nick@geany.org> --- Note that writing to `entries1` here causes a race condition: ``` Entry[] entries1; foreach (name; parallel(dirEntries(folder1, SpanMode.breadth), 1)) // not working { if(name.isFile()) { entries1 ~= Entry(name ,mdFile(name)); ``` See also issue 15129. -- |
Copyright © 1999-2021 by the D Language Foundation