Threads and static initialization.
Vladimir Panteleev
vladimir at thecybershadow.net
Fri Dec 17 19:52:19 PST 2010
On Sat, 18 Dec 2010 03:06:26 +0200, Jonathan M Davis <jmdavisProg at gmx.com>
wrote:
> And how about every other variable?
I'm sorry, I'm not following you. What other variables?
* Globals and class/struct/function statics are in TLS
* Explicitly shared vars are in the data segment
* Locals are in the stack or registers (no problem here)
* Everything else (as referenced by the above three) is in the heap
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list