Re: 2D array parallelism

2014-01-26 Thread Andrew Klaassen
On Sunday, 26 January 2014 at 20:34:27 UTC, bearophile wrote: Do you know that module level variables in D are thread-local? If you don't what that, you have to use __gshared. Bye, bearophile Perfect, thanks! If anyone wants to make things easy on stupid people like me, using a module level

Re: 2D array parallelism

2014-01-26 Thread bearophile
Andrew Klaassen: This happens with dmd, ldc2 and gdc, so I assume it's something I'm doing wrong rather than a bug. What's the explanation? What am I doing wrong? Do you know that module level variables in D are thread-local? If you don't what that, you have to use __gshared. Bye, bearophi