Re: pg_threads.h take II

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>, Heikki Linnakangas <hlinnaka@iki.fi>, Jelte Fennema <postgres@jeltef.nl>, Bryan Green <dbryan.green@gmail.com>
Date: 2026-07-06T12:31:57Z
Lists: pgsql-hackers
On 06.07.26 14:09, Thomas Munro wrote:
> We still can't require C11 <threads.h> yet, though the interface has a
> clear future upgrade/remap path to do that eventually.  Since I last
> wrote about this topic, we gained the ability to count on C11
> thread_local being available

We still support platforms/compilers where it's not available, but

https://www.postgresql.org/message-id/2a965ac6-fa42-4054-bee0-b1618e7729d6%40eisentraut.org

which is ready to be committed, will de-support those, so by the time 
this patch set is ready, we'll be fine.