]> granicus.if.org Git - postgresql/commit
Remove select(2) backed latch implementation.
authorAndres Freund <andres@anarazel.de>
Sun, 23 Apr 2017 22:26:25 +0000 (15:26 -0700)
committerAndres Freund <andres@anarazel.de>
Sun, 23 Apr 2017 22:31:41 +0000 (15:31 -0700)
commit61c21ddad03dda1f92a05a723cf449087d80ec08
tree3b5883913afe2bd0f70d31a837231885068e29b5
parent546c13e11b29a5408b9d6a6e3cca301380b47f7f
Remove select(2) backed latch implementation.

poll(2) is required by Single Unix Spec v2, the usual baseline for
postgres (leaving windows aside).  There's not been any buildfarm
animals without poll(2) for a long while, leaving the select(2)
implementation to be largely untested.

On windows, including mingw, poll() is not available, but we have a
special case implementation for windows anyway.

Author: Andres Freund
Discussion: https://postgr.es/m/20170420003611.7r2sdvehesdyiz2i@alap3.anarazel.de
src/backend/storage/ipc/latch.c