Re: [multithreading] extension compatibility

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [multithreading] extension compatibility
Дата
Msg-id CA+TgmoZ4GiB8Nx3+B0+3Pnq2JSQWPafnw0Hb9Fb8GFRRdOw0-w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [multithreading] extension compatibility  (Andres Freund <andres@anarazel.de>)
Ответы Re: [multithreading] extension compatibility
Список pgsql-hackers
On Wed, Jun 5, 2024 at 9:50 PM Andres Freund <andres@anarazel.de> wrote:
> Depending on the architecture / ABI / compiler options it's often not
> meaningfully more expensive to access a thread local variable than a "normal"
> variable.
>
> I think these days it's e.g. more expensive on x86-64 windows, but not
> linux. On arm the overhead of TLS is more noticeable, across platforms,
> afaict.

I mean, to me, this still sounds like we want multithreading to be a
build-time option.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [multithreading] extension compatibility
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [multithreading] extension compatibility