Re: pg_threads.h take II

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Jelte Fennema <postgres(at)jeltef(dot)nl>, Bryan Green <dbryan(dot)green(at)gmail(dot)com>
Subject: Re: pg_threads.h take II
Date: 2026-07-06 12:31:57
Message-ID: 928a63fd-8d78-425c-bf50-db16f5e8c16a@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2026-07-06 12:32:12 Re: pg_threads.h take II
Previous Message Matthias van de Meent 2026-07-06 12:30:24 Re: [GSoC 2026] - B-tree Index Bloat Reduction - Approach & Questions