<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat., 22 Jun. 2019, 6:40 pm Walter Bright via Digitalmars-d, <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/22/2019 1:02 AM, Manu wrote:<br>
> I don't believe `passToThread` could receive a `scope shared(int)*`...<br>
> can you show an implementation of passToThread?<br>
<br>
In @system code you can do whatever you like.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>