How to correct share data between threads?

Nicolas Gurrola via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 20 11:54:38 PST 2016


On Sunday, 20 November 2016 at 17:50:38 UTC, Konstantin 
Kutsevalov wrote:
> Ok, thank you. But I cannot to find good example. May be you 
> know some good article about it?

The Phobos documentation is a good place to start, as it has 
examples as well as the documentation for all the APIs: 
https://dlang.org/phobos/std_concurrency.html and 
https://dlang.org/phobos/std_parallelism.html. For something more 
in depth, the chapter on concurrency from TDPL is available 
online, which covers std.concurrency: 
http://www.informit.com/articles/article.aspx?p=1609144. And Ali 
Çehreli's book is also available online, with chapters on 
std.parallelism (http://ddili.org/ders/d.en/parallelism.html) and 
std.concurrency (http://ddili.org/ders/d.en/concurrency.html).


More information about the Digitalmars-d-learn mailing list