Difference between __gshared and shared.

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 14:31:55 PDT 2015


On 8 July 2015 at 11:20, wobbles via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> After reading the recent "Lessons Learned" article [1], and reading a few
> comments on the thread, there was a mention of using __gshared over shared.
>
> What exactly is the difference here?
> Are they 2 keywords to do the same thing, or are there specific use cases
> to both?
> Is there plans to 'converge' them at some point?
>
> [1]
> https://www.reddit.com/r/programming/comments/3cg1r0/lessons_learned_writing_a_filesystem_in_d/
>
>
>
http://forum.dlang.org/post/mailman.739.1431034764.4581.digitalmars-d@puremagic.com

Iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150708/cd4ad941/attachment.html>


More information about the Digitalmars-d mailing list