Thread: pgsql: Make it easier to choose the used waiting primitive in unix_latc

pgsql: Make it easier to choose the used waiting primitive in unix_latc

From
Andres Freund
Date:
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(-)