Re: Condition variables vs interrupts

From: Shawn Debnath <sdn(at)amazon(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
Subject: Re: Condition variables vs interrupts
Date: 2019-12-21 01:09:46
Message-ID: 20191221010946.GA84384@f01898859afd.ant.amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 20, 2019 at 12:05:34PM +1300, Thomas Munro wrote:

> I think we should probably just remove the unusual ResetLatch() call,
> rather than adding a CFI(). See attached. Thoughts?

I agree: removing the ResetLatch() and having the wait event code deal
with it is a better way to go. I wonder why the reset was done in the
first place?

--
Shawn Debnath
Amazon Web Services (AWS)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2019-12-21 01:18:24 Re: archive status ".ready" files may be created too early
Previous Message Andres Freund 2019-12-21 00:48:43 Re: Session WAL activity