summaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorThomas Munro2021-02-28 23:28:43 +0000
committerThomas Munro2021-03-01 01:20:04 +0000
commit6148656a0be1c6245fbcfcbbeb87541f1b173162 (patch)
treedc1f6132f8f21ea2c7c234930cc1ea0fa17253dc /src/common/jsonapi.c
parent6a2a70a02018d6362f9841cc2f499cc45405e86b (diff)
Use EVFILT_SIGNAL for kqueue latches.
Cut down on system calls and other overheads by waiting for SIGURG explicitly with kqueue instead of using a signal handler and self-pipe. Affects *BSD and macOS systems. This leaves only the poll implementation with a signal handler and the traditional self-pipe trick. Discussion: https://postgr.es/m/CA+hUKGJjxPDpzBE0a3hyUywBvaZuC89yx3jK9RFZgfv_KHU7gg@mail.gmail.com
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions