Re: injection_points: Switch wait/wakeup to use atomics rather than latches

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: injection_points: Switch wait/wakeup to use atomics rather than latches
Date: 2026-06-02 04:15:55
Message-ID: ah5Y-1t_Xfw-CU_T@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 01, 2026 at 04:25:40PM +0500, Andrey Borodin wrote:
> The shared memory segment must be released before we attempt recovery.
> But that's exactly what I wanted anyway. Thank you!

How do you guarantee that a wait position is reached in the case where
you don't have access to wait events to make sure that the wait point
is reached?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2026-06-02 04:43:56 Re: A few message wording/formatting cleanup patches
Previous Message Chao Li 2026-06-02 03:10:09 Re: pgsql: Advance restart_lsn more eagerly in LogicalConfirmReceivedLocati