www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is runtime info in shared memory?

reply Jean-Louis Leroy <jl leroy.nyc> writes:
When I look at ldc2's object.d I have the impression it's thread 
local. I may be wrong though, just beginning to learn about 
'shared'.
Jul 09 2017
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
On 07/09/2017 02:38 AM, Jean-Louis Leroy wrote:
 When I look at ldc2's object.d I have the impression it's thread local.
 I may be wrong though, just beginning to learn about 'shared'.
Unless it's marked as shared or __gshared it's thread-local by default. Ali
Jul 10 2017