shared array?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 11 09:04:20 PDT 2015


On Friday, 11 September 2015 at 14:54:00 UTC, Prudence wrote:
> But in this case it is static, so why does it matter? Do you 
> have any ideas how to wrap it or fix this?

It matters exactly because it is static. A code written for 
single-threaded environment may not work correctly in shared 
context. It simply wasn't written for it. The way to fix it is to 
write code for shared context.


More information about the Digitalmars-d-learn mailing list