Thread overview
Documentation about concurrency and parallelism
Jul 21, 2016
eugene
Jul 21, 2016
eugene
Jul 21, 2016
Seb
Jul 21, 2016
Ali Çehreli
Jul 22, 2016
eugene
Jul 22, 2016
eugene
Jul 22, 2016
eugene
Jul 24, 2016
qznc
July 21, 2016
Hi everyone,
could you,please, point out where can i find in the "Documentation" sections info about concurrency and parrallelism preferably with examples?
July 21, 2016
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"
July 21, 2016
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
July 21, 2016
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

July 22, 2016
> Or the concurrency chapter from TDPL
>
> http://www.informit.com/articles/article.aspx?p=1609144

the book dates back 2010, is it ok?
July 22, 2016
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
July 22, 2016
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
July 24, 2016
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