On 6/21/20 5:52 AM, adnan338 wrote:

I am trying to figure out how to prevent this data race.

I still like the std.concurrency method I used here:

  https://forum.dlang.org/post/rkitcprqvslexgqaf...@forum.dlang.org

The only difference is that your individual progresses are from 0% to 100%. The example can be changed easily to report 100% once at the end of each download.

Ali

Reply via email to