Re: Trying out <stdatomic.h>

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Greg Burd <greg(at)burd(dot)me>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Trying out <stdatomic.h>
Date: 2026-03-23 11:57:43
Message-ID: 8a70830a-5283-4926-8ca0-0131ce1a1943@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21.03.26 19:39, Greg Burd wrote:
> I think that $subject is interesting because it presents an opportunity to reduce the code we maintain and potentially improve performance. This thread has languished a bit on the list, so I picked it up. I've tried it out on my local systems (greenfly, unicorn, icarus, macOS, and a Fedora x86_64 laptop I use as my daily driver) using clang, gcc, and MSVC. It seems to work, I still need to measure performance.
>
> tested:
> - Linux x86_64 (GCC 14.3.0)
> - Linux RISC-V (GCC 13.3.0, Clang 20.1.2)
> - FreeBSD x86_64 (Clang 19.1.7)
> - Windows ARM64 (MSVC 2022)
>
> I realize we're close to the end of the v19 cycle, but one last look couldn't hurt could it? Attached is "v3" of his patch set. Is anyone else interested in this? :)

We currently require MSVC 2019, so before this could be accepted, this
requirement would need to be adjusted (including documentation,
buildfarm updates, etc.). Maybe a bit late for that.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-03-23 12:00:00 Re: Propagate XLogFindNextRecord error to callers
Previous Message Nikhil Chawla 2026-03-23 11:47:15 [PATCH] Add prepared_orphaned_transaction_timeout GUC