[Issue 10107] Allow to store "newed" class and struct instances in TLS

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 17 16:34:35 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10107


Igor Stepanov <wazar.leollone at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wazar.leollone at yahoo.com


--- Comment #1 from Igor Stepanov <wazar.leollone at yahoo.com> 2013-05-17 16:34:34 PDT ---
Same http://d.puremagic.com/issues/show_bug.cgi?id=10108 I think.
This is conceptual question: Can reference types be thread local?
If we'll find the way: we can do class literals, array literals and pointers
thread local.
By the way:

int* global_ptr = [1,2,3].ptr; //same trouble

I think, we must reject all mutable non-shared reference literals. And move to
reject all non-mutable literals

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list