Re: WIP: Barriers

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP: Barriers
Date: 2016-11-22 21:42:07
Message-ID: CAEepm=2-=nF80oe7btPgNiNBsG2QLe4ZtpqZ7T5AZQfkNVKiBg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 1, 2016 at 5:03 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> On Thu, Aug 18, 2016 at 1:55 PM, Thomas Munro
> <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
>> On Tue, Aug 16, 2016 at 1:55 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> If we're going to remove barrier.h, I think that should be a separate
>>> commit from creating a new barrier.h.
>>
>> OK. Here's a patch to remove the old header, and the v2 barrier patch
>> which adds phases and attach/detach. As before, it depends on
>> condition-variable-v2.patch.
>
> Here's a new version which is rebased and adds support for passing
> wait_event through to pg_stat_activity.

Here's a version updated for the new conditional variables interface
which has just been committed as e8ac886c. Some comments improved.

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

Attachment Content-Type Size
remove-useless-barrier-header-v4.patch application/octet-stream 4.0 KB
barrier-v4.patch application/octet-stream 8.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-11-22 21:59:19 Re: [PATCH] Reload SSL certificates on SIGHUP
Previous Message Alvaro Herrera 2016-11-22 21:26:59 Re: [RFC] Should we fix postmaster to avoid slow shutdown?