Concurrency Confusion

"岩倉 澪" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 4 04:33:09 PDT 2015


On Tuesday, 4 August 2015 at 10:37:39 UTC, Dicebot wrote:
> std.concurrency does by-value message passing (in this case 
> just ptr+length), it never deep copies automatically

I assumed that it would deep copy (in the case of mutable data) 
since the data being sent is thread-local (unless I am 
misunderstanding something)




More information about the Digitalmars-d-learn mailing list