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

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 21 11:50:50 PDT 2017


On 8/16/17 11:23 AM, Steven Schveighoffer wrote:
> On 8/16/17 8:58 AM, Steven Schveighoffer wrote:
>> However, I have found a better way to call postblit that involves the 
>> qualifiers than the way Variant currently does it. I'm going to submit 
>> a PR to fix these issues.
> 
> https://github.com/dlang/phobos/pull/5694

This has been merged, so you should now be able to send shared types 
properly through send/receive on master dmd. Don't think it made it into 
2.076 beta though.

-Steve


More information about the Digitalmars-d-learn mailing list