Make it easier to choose the used waiting primitive in unix_latch.c.

Andres Freund <andres@anarazel.de>

Commit: c17966201c7de2a4c437bed6d83c6a7f2e7108f4
Author: Andres Freund <andres@anarazel.de>
Date: 2016-03-18T18:46:54Z
Releases: 9.6.0
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

Files

PathChange+/−
src/backend/port/unix_latch.c modified +34 −16