On Thursday, 19 May 2016 at 19:31:26 UTC, Era Scarecrow wrote:
An alternate to writing a custom appender is simply to make the assignment atomic. Haven't tried this but if you did 'shared string[] lines;'

I'll experiment with this and get back with you. Multi-threading isn't my strong suit either.

Experimented and quickly got what looks like good clean results. Took your code, ripped out what I didn't want and added in what I did. Simple!

 https://dpaste.dzfl.pl/6952fdf463b66


Reply via email to