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

Arek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 22 11:25:54 PDT 2017


On Monday, 21 August 2017 at 18:50:50 UTC, Steven Schveighoffer 
wrote:
> 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

Great!

Thanks.

Arek


More information about the Digitalmars-d-learn mailing list