Re: [multithreading] extension compatibility - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [multithreading] extension compatibility
Date
Msg-id CA+TgmoZ4GiB8Nx3+B0+3Pnq2JSQWPafnw0Hb9Fb8GFRRdOw0-w@mail.gmail.com
Whole thread Raw
In response to Re: [multithreading] extension compatibility  (Andres Freund <andres@anarazel.de>)
Responses Re: [multithreading] extension compatibility
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: [multithreading] extension compatibility
Next
From: Andres Freund
Date:
Subject: Re: [multithreading] extension compatibility