Very limited shared promotion
Manu
turkeyman at gmail.com
Sat Jun 22 23:24:59 UTC 2019
On Sat., 22 Jun. 2019, 6:40 pm Walter Bright via Digitalmars-d, <
digitalmars-d at puremagic.com> wrote:
> On 6/22/2019 1:02 AM, Manu wrote:
> > I don't believe `passToThread` could receive a `scope shared(int)*`...
> > can you show an implementation of passToThread?
>
> In @system code you can do whatever you like.
>
If you engage in @system code to distribute across threads, it's a no
brainer to expect that code to handle cache coherency measures. It would be
broken if it didn't.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20190623/cbe9adc8/attachment-0001.html>
More information about the Digitalmars-d
mailing list