Does anyone understand how to use "shared" types with concurrency send/receive functions?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 17 06:09:29 PDT 2017


On Wednesday, 16 August 2017 at 23:15:10 UTC, crimaniak wrote:
> I wonder if it possible and usable to make some template to 
> support this pattern, where we give mutex(es), shared object(s) 
> and delegate to operate with objects as non-shared.

https://dpaste.dzfl.pl/8b3b05c8ec0a like this? Not sure if it 
helps, don't forget that it's a casted shared object.


More information about the Digitalmars-d-learn mailing list