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

From: Alexander Lakhin <exclusion(at)gmail(dot)com>
To: harrisontbooth(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Subject: Re: [PATCH v2] Fix races in Windows pthread emulation
Date: 2026-10-15 06:00:00
Message-ID: 32137e76-c030-4626-a9d0-e26d39388e14@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Harrison,

13.10.2026 02:37, harrisontbooth(at)gmail(dot)com wrote:
> Alexander, could you test this revision against your reproducer?

I've tested your patch on master with 100 "test: thread/alloc" in
ecpg_schedule and 12 ecpg/ecpg tests running in parallel.

Without the patch, I got test failures due to timeouts on iterations
6, 59, 9, 8. With the patch applied, 300 iterations passed successfully
(twice).

Thank you for the fix!

Best regards,
Alexander

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Hayato Kuroda (Fujitsu) 2026-10-15 05:26:04 RE: [PATCH] Preserve replication origin OIDs in pg_upgrade