pgsql: Make it easier to choose the used waiting primitive in unix_latc - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Make it easier to choose the used waiting primitive in unix_latc
Date
Msg-id E1agzUL-0007Sz-Vx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make it easier to choose the used waiting primitive in unix_latch.c.

This allows for easier testing of the different primitives; in
preparation for adding a new primitive.

Discussion: 20160114143931.GG10941@awork2.anarazel.de
Reviewed-By: Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c17966201c7de2a4c437bed6d83c6a7f2e7108f4

Modified Files
--------------
src/backend/port/unix_latch.c | 50 +++++++++++++++++++++++++++++--------------
1 file changed, 34 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: pgsql: Clean up some misplaced #includes.
Next
From: Andres Freund
Date:
Subject: pgsql: Remove unused, and dangerous, TestLatch() macro.