diff options
| author | Thomas Munro | 2020-02-05 04:35:57 +0000 |
|---|---|---|
| committer | Thomas Munro | 2020-02-05 04:35:57 +0000 |
| commit | 815c2f0972c8386aba7c606f1ee6690d13b04db2 (patch) | |
| tree | de243ac19b91125129e3398b0d15c05a8149a51d /configure.in | |
| parent | d9fe702a2c9843af71419ad0df069859e5581694 (diff) | |
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
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 8165f700398..57346bc89bd 100644 --- a/configure.in +++ b/configure.in @@ -1288,6 +1288,7 @@ AC_CHECK_HEADERS(m4_normalize([ mbarrier.h poll.h sys/epoll.h + sys/event.h sys/ipc.h sys/prctl.h sys/procctl.h @@ -1628,6 +1629,7 @@ AC_CHECK_FUNCS(m4_normalize([ getifaddrs getpeerucred getrlimit + kqueue mbstowcs_l memset_s memmove |
