Re: pgsql: Improve LWLock scalability.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Improve LWLock scalability.
Date: 2015-07-27 16:32:35
Message-ID: CA+TgmoY97M2RQA6g1z1LBgdxQo-p1hDyQkfjGbgjgW_3eK2+Vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Dec 25, 2014 at 11:49 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> Improve LWLock scalability.

+ * do so. Returns false if somebody else already has woken us up, otherwise
+ * returns true.
+ */
+static void
+LWLockDequeueSelf(LWLock *lock)

The comment about the return type is wrong, because the function returns void.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-07-27 17:45:32 pgsql: Fix memory leaks in pg_rewind. Several PQclear() calls were miss
Previous Message Heikki Linnakangas 2015-07-27 15:55:45 Re: pgsql: Fix handling of all-zero pages in SP-GiST vacuum.