How to share an appender!string?

Thorsten Sommer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 19 03:41:14 PDT 2016


On Thursday, 19 May 2016 at 10:13:21 UTC, rikki cattermole wrote:

> At this point I'd recommend you to just ignore Appender.
> Write your own.

Dear rikki,

Thanks for the proposal :) Here is the new attempt #4 as simple 
test case: https://dpaste.dzfl.pl/f6a9663320e5

It compiles & runs, but the array of strings gets not shared 
across threads :( I am sure that I missed something about the 
shared() concept...

Hmm...


Best regards,
Thorsten


More information about the Digitalmars-d-learn mailing list