Re: condition variables - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: condition variables
Date
Msg-id CAEepm=0zshYwB6wDeJCkrRJeoBM=jPYBe+-k_VtKRU_8zMLEfA@mail.gmail.com
Whole thread Raw
In response to Re: condition variables  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: condition variables  (Peter Geoghegan <pg@heroku.com>)
Re: condition variables  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, Aug 15, 2016 at 5:58 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> Please find attached a -v2 of your patch which includes suggestions
> 1-3 above.

Here's a rebased patch.  ConditionVariableSleep now takes
wait_event_info.  Anyone using this in patches for core probably needs
to add enumerators to the WaitEventXXX enums in pgstat.h to describe
their wait points.

--
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: longfin
Next
From: Thomas Munro
Date:
Subject: Re: Tracking wait event for latches