Re: pgsql: Improve LWLock scalability. - Mailing list pgsql-committers

From Robert Haas
Subject Re: pgsql: Improve LWLock scalability.
Date
Msg-id CA+TgmoY97M2RQA6g1z1LBgdxQo-p1hDyQkfjGbgjgW_3eK2+Vw@mail.gmail.com
Whole thread Raw
In response to pgsql: Improve LWLock scalability.  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
On Thu, Dec 25, 2014 at 11:49 AM, Andres Freund <andres@anarazel.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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't assume that PageIsEmpty() returns true on an all-zeros pag
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix memory leaks in pg_rewind. Several PQclear() calls were miss