Re: Threads vs Processes
| От | Tom Lane |
|---|---|
| Тема | Re: Threads vs Processes |
| Дата | |
| Msg-id | 4612.1064531700@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Threads vs Processes ("Merlin Moncure" <merlin.moncure@rcsonline.com>) |
| Ответы |
Re: Threads vs Processes
|
| Список | pgsql-hackers |
"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
В списке pgsql-hackers по дате отправления: