On Tuesday, 4 August 2015 at 08:36:26 UTC, John Colvin wrote:
Do you mean this instead?spawn(&fooPtrToBarArr, foo, bar);
Yep, that was a typo when writing up the post!
Anyway, you need to use shared, not __gshared, then it should work.
I have been wary of shared because of: https://p0nce.github.io/d-idioms/#The-truth-about-shared