Re: [PATCH v1] Fix races in Windows pthread emulation

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Harrison Booth <harrisontbooth(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH v1] Fix races in Windows pthread emulation
Date: 2026-09-03 12:39:02
Message-ID: CAN55FZ3BdXxVOZTTedfoahAuud8U6Sni8iry0PAbYS8R9exSKA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Thu, 20 Aug 2026 at 15:09, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
>
> On Fri, 24 Jul 2026 at 10:07, Harrison Booth <harrisontbooth(at)gmail(dot)com> wrote:
> >
> > On native Windows ARM64, the ECPG thread/alloc test could hang until
> > Meson's 1000-second timeout. The cause was a race in the Windows pthread
> > mutex emulation.
>
> I ran into this exact issue today [1] and found your thread.

I hit that problem again today [1]. I created a Commitfest entry so we
don't lose track of this patch [2].

[1] https://github.com/nbyavuz/postgres/actions/runs/33748732194/job/100627756377#step:14:279
[2] https://commitfest.postgresql.org/patch/7255/

--
Regards,
Nazir Bilal Yavuz
Microsoft

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2026-09-03 12:46:12 Re: Postmaster fails to shut down right after crash restart
Previous Message Matthias van de Meent 2026-09-03 12:19:24 Re: glist: _Generic wrapper for selective dlist/dclist usage