diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-03-18 12:48:13 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-03-18 13:05:09 +1300 |
commit | 9b8aa0929390aab1f2f0859016e6110d283732dd (patch) | |
tree | 69e13d48e88d1d37606e829bb99f54173b1d0355 /src/backend/utils/adt/json.c | |
parent | 7bc84a1f304acc9f4705c4178eb362ddce310452 (diff) | |
download | postgresql-9b8aa0929390aab1f2f0859016e6110d283732dd.tar.gz postgresql-9b8aa0929390aab1f2f0859016e6110d283732dd.zip |
Don't use EV_CLEAR for kqueue events.
For the semantics to match the epoll implementation, we need a socket to
continue to appear readable/writable if you wait multiple times without
doing I/O in between (in Linux terminology: level-triggered rather than
edge-triggered). This distinction will be important for later commits.
Similar to commit 3b790d256f8 for Windows.
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions