Re: Trying out <stdatomic.h>

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: greg(at)burd(dot)me
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Trying out <stdatomic.h>
Date: 2026-10-22 03:54:40
Message-ID: CAGRkXqSq2GVXq2YC0DsUmjjjuga_JJuMzJaVEVLKYpmb4dKhGA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Greg,

I tried v9-0001 on macOS arm64 on current master. I think everything
looks good.

One new thing. It looks like part of 0003 moved into 0001 in this
rebase. In v9-0001, the autoconf and meson builds no longer read the
stdatomic option and always define USE_STDATOMIC_H.

So 0001 is not opt-in anymore, and a target without lock-free 64-bit
atomics now fails at configure. The commit message still says the
default is "no".

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message zengxx 2026-10-22 03:56:14 [PATCH 0/3] Improve UNION de-duplication
Previous Message shihao zhong 2026-10-22 03:49:45 Re: [PATCH] pageinspect: validate line pointers before using them