Re: injection_points: Switch wait/wakeup to use atomics rather than latches - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: injection_points: Switch wait/wakeup to use atomics rather than latches
Date
Msg-id E9AD8D63-AD24-448F-BC9E-CC9D1CCC6D02@yandex-team.ru
Whole thread
Responses Re: injection_points: Switch wait/wakeup to use atomics rather than latches
List pgsql-hackers

> On 2 Jun 2026, at 09:15, Michael Paquier <michael@paquier.xyz> wrote:
> 
> 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?


In a research test? sleep(1)


Best regards, Andrey Borodin.




pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: A few message wording/formatting cleanup patches
Next
From: Michael Paquier
Date:
Subject: Re: Unify parallel worker handling for index builds and instrumentation