Add kqueue(2) support to the WaitEventSet API.
authorThomas Munro <[email protected]>
Wed, 5 Feb 2020 04:35:57 +0000 (17:35 +1300)
committerThomas Munro <[email protected]>
Wed, 5 Feb 2020 04:35:57 +0000 (17:35 +1300)
commit815c2f0972c8386aba7c606f1ee6690d13b04db2
treede243ac19b91125129e3398b0d15c05a8149a51d
parentd9fe702a2c9843af71419ad0df069859e5581694
Add kqueue(2) support to the WaitEventSet API.

Use kevent(2) to wait for events on the BSD family of operating
systems and macOS.  This is similar to the epoll(2) support added
for Linux by commit 98a64d0bd.

Author: Thomas Munro
Reviewed-by: Andres Freund, Marko Tiikkaja, Tom Lane
Tested-by: Mateusz Guzik, Matteo Beccati, Keith Fiske, Heikki Linnakangas, Michael Paquier, Peter Eisentraut, Rui DeSousa, Tom Lane, Mark Wong
Discussion: https://postgr.es/m/CAEepm%3D37oF84-iXDTQ9MrGjENwVGds%2B5zTr38ca73kWR7ez_tA%40mail.gmail.com
configure
configure.in
src/backend/storage/ipc/latch.c
src/include/pg_config.h.in
src/tools/msvc/Solution.pm