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

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 16 03:23:40 PDT 2017


On Tuesday, 15 August 2017 at 15:19:02 UTC, Steven Schveighoffer 
wrote:
> However, I'm not sure about the postblit being called 
> afterward. Does a postblit need to be marked shared in order to 
> work for shared types?

Ideally yes, but it's difficult to come up with a good shared 
postblit, send and receive is probably the only use case for it :)


More information about the Digitalmars-d-learn mailing list