"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> All TLS variables *must* be static (or implicitly static
> through extern, i.e. no 'auto' variables)
I assume you mean static as in not-auto, rather than static as in
not-global. Otherwise we have a problem here.
> and their addresses can not be
> assumed to be constant.
Surely the addresses can be assumed constant within a thread. Otherwise
we have a problem here too.
> Taking addresses of TLS variables should be considered illegal,
Sorry, no can accept that restriction.
regards, tom lane