www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Documentation about concurrency and parallelism

reply eugene <egordeev18 gmail.com> writes:
Hi everyone,
could you,please, point out where can i find in the 
"Documentation" sections info about concurrency and parrallelism 
preferably with examples?
Jul 21 2016
parent reply eugene <egordeev18 gmail.com> writes:
On Thursday, 21 July 2016 at 20:46:24 UTC, eugene wrote:
 Hi everyone,
 could you,please, point out where can i find in the 
 "Documentation" sections info about concurrency and 
 parrallelism preferably with examples?
i didn't find about it in "Language reference" and "Feature overview", but found in "Library reference"
Jul 21 2016
parent reply Seb <seb wilzba.ch> writes:
On Thursday, 21 July 2016 at 20:56:07 UTC, eugene wrote:
 On Thursday, 21 July 2016 at 20:46:24 UTC, eugene wrote:
 Hi everyone,
 could you,please, point out where can i find in the 
 "Documentation" sections info about concurrency and 
 parrallelism preferably with examples?
i didn't find about it in "Language reference" and "Feature overview", but found in "Library reference"
It's entirely a library feature, the compiler doesn't need to know about it. There is also an entire chapter at the DTour http://tour.dlang.org/tour/en/multithreading/thread-local-storage Or the concurrency chapter from TDPL http://www.informit.com/articles/article.aspx?p=1609144
Jul 21 2016
next sibling parent reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 07/21/2016 03:47 PM, Seb wrote:

 There is also an entire chapter at the DTour
 http://tour.dlang.org/tour/en/multithreading/thread-local-storage
All of those pages include In-depth sections that list links to other resources. Ali
Jul 21 2016
parent eugene <egordeev18 gmail.com> writes:
On Thursday, 21 July 2016 at 23:09:41 UTC, Ali Çehreli wrote:
 On 07/21/2016 03:47 PM, Seb wrote:

 There is also an entire chapter at the DTour
 http://tour.dlang.org/tour/en/multithreading/thread-local-storage
All of those pages include In-depth sections that list links to other resources. Ali
thanks
Jul 21 2016
prev sibling next sibling parent eugene <egordeev18 gmail.com> writes:
 Or the concurrency chapter from TDPL

 http://www.informit.com/articles/article.aspx?p=1609144
the book dates back 2010, is it ok?
Jul 21 2016
prev sibling next sibling parent eugene <egordeev18 gmail.com> writes:
On Thursday, 21 July 2016 at 22:47:38 UTC, Seb wrote:
 On Thursday, 21 July 2016 at 20:56:07 UTC, eugene wrote:
 On Thursday, 21 July 2016 at 20:46:24 UTC, eugene wrote:
 Hi everyone,
 could you,please, point out where can i find in the 
 "Documentation" sections info about concurrency and 
 parrallelism preferably with examples?
i didn't find about it in "Language reference" and "Feature overview", but found in "Library reference"
It's entirely a library feature, the compiler doesn't need to know about it. There is also an entire chapter at the DTour http://tour.dlang.org/tour/en/multithreading/thread-local-storage Or the concurrency chapter from TDPL http://www.informit.com/articles/article.aspx?p=1609144
thanks
Jul 21 2016
prev sibling parent qznc <qznc web.de> writes:
On Thursday, 21 July 2016 at 22:47:38 UTC, Seb wrote:
 On Thursday, 21 July 2016 at 20:56:07 UTC, eugene wrote:
 On Thursday, 21 July 2016 at 20:46:24 UTC, eugene wrote:
 Hi everyone,
 could you,please, point out where can i find in the 
 "Documentation" sections info about concurrency and 
 parrallelism preferably with examples?
i didn't find about it in "Language reference" and "Feature overview", but found in "Library reference"
It's entirely a library feature, the compiler doesn't need to know about it.
For clarification, the compiler does know about parallel and concurrent code, since threads cannot be implemented as a library [0]. In most cases though, you find all high-level stuff you need in the library. [0] http://www.hpl.hp.com/techreports/2004/HPL-2004-209.pdf
Jul 24 2016