On 2010-12-18 01:53:04 -0500, Jonathan M Davis <[email protected]> said:

However, anything that involves the heap wouldn't be okay, and that's a _lot_ of variables. Any and all references and pointers - inluding dynamic arrays - would
be in TLS unless you marked them as shared.

Things stored in the heap are *not* stored in thread-local storage. TLS is for thread-local global and static variables. Having TLS variables uninitialized shouldn't a problem when playing with the heap.

--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to