Thread overview | |||||
---|---|---|---|---|---|
|
January 29, 2011 "__gshared static" versus "static __gshared" | ||||
---|---|---|---|---|
| ||||
Is this a bug? __gshared static i; makes i be thread-local, while static __gshared i; makes it be shared. |
January 29, 2011 Re: "__gshared static" versus "static __gshared" | ||||
---|---|---|---|---|
| ||||
Posted in reply to %u | On Sat, 29 Jan 2011 08:47:21 +0000, %u wrote:
> Is this a bug?
>
> __gshared static i;
>
> makes i be thread-local, while
>
> static __gshared i;
>
> makes it be shared.
If that's the case, then it is definitely a bug. The order of attributes shouldn't matter.
-Lars
|
February 23, 2011 Re: "__gshared static" versus "static __gshared" | ||||
---|---|---|---|---|
| ||||
Posted in reply to %u | http://d.puremagic.com/issues/show_bug.cgi?id=4419 |
Copyright © 1999-2021 by the D Language Foundation