Re: condition variables - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: condition variables
Date
Msg-id CAM3SWZQFY8F5nga=xzoHE_4VfUpPkTYREpHMXtxmjN4=f56KEg@mail.gmail.com
Whole thread Raw
In response to Re: condition variables  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Tue, Oct 4, 2016 at 12:12 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> 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.

I think that there are at least 2 patches from EDB people that are
already dependent on this one. I myself could easily adopt parallel
CREATE INDEX to use it, too. Why the continued delay in committing it?
I think it's fairly clear that this mechanism is widely useful.


-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: PATCH: two slab-like memory allocators
Next
From: Tom Lane
Date:
Subject: Assertion failures due to testing visibility without buffer lock