diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 12:28:43 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-01 14:20:04 +1300 |
commit | 6148656a0be1c6245fbcfcbbeb87541f1b173162 (patch) | |
tree | dc1f6132f8f21ea2c7c234930cc1ea0fa17253dc /src/backend/utils/init/miscinit.c | |
parent | 6a2a70a02018d6362f9841cc2f499cc45405e86b (diff) | |
download | postgresql-6148656a0be1c6245fbcfcbbeb87541f1b173162.tar.gz postgresql-6148656a0be1c6245fbcfcbbeb87541f1b173162.zip |
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/backend/utils/init/miscinit.c')
0 files changed, 0 insertions, 0 deletions